This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
rust
/
src
/
test
/
compile-fail
/
vector-no-ann.rs
4 lines
63 B
Rust
Raw
Normal View
History
Unescape
Escape
Stop inferring bot/static when types/regions are unconstrained. Also, some other changes that came up along the way: - add a 'blk' region for the current block. - detect unused type/region variables.
2012-04-30 10:37:58 -07:00
fn
main
(
)
{
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
2012-06-29 16:26:56 -07:00
let
_foo
=
~
[
]
;
//! ERROR unconstrained type
Stop inferring bot/static when types/regions are unconstrained. Also, some other changes that came up along the way: - add a 'blk' region for the current block. - detect unused type/region variables.
2012-04-30 10:37:58 -07:00
}
Reference in New Issue
Copy Permalink