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
12c32e944d
rust
/
src
/
test
/
compile-fail
/
cap-clause-unresolved-move.rs
7 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: Switch to the new resolution pass
2012-07-06 21:06:58 -05:00
// error-pattern:unresolved name
resolve capture clauses
2011-12-17 23:12:30 -06:00
fn
main
(
)
{
let
x
=
5
;
make it illegal to implicitly capture mutable variables this is the final part of #1273
2012-05-07 13:31:57 -05:00
let
y
=
fn
~
(
move
z
,
move
x
)
{
resolve capture clauses
2011-12-17 23:12:30 -06:00
}
;
make it illegal to implicitly capture mutable variables this is the final part of #1273
2012-05-07 13:31:57 -05:00
}
Reference in New Issue
Copy Permalink