This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
2
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
occurs-check.rs
6 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Implement new inference algorithm.
2012-03-22 20:06:01 -07:00
fn
main
(
)
{
Avoid ever constructing cyclic types in the first place, rather than detecting them in resolve. This simplifies logic elsewhere in the compiler. cc #5527
2014-09-09 17:45:51 -04:00
let
f
;
Remove box syntax from most places in src/test outside of the issues dir
2021-08-25 02:39:40 +02:00
f
=
Box
::
new
(
f
)
;
change error messages to be incorrect, but more helpful
2024-02-22 18:18:33 +01:00
//~^ ERROR overflow assigning `Box<_>` to `_`
Implement new inference algorithm.
2012-03-22 20:06:01 -07:00
}
Reference in New Issue
Copy Permalink