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
0b653ab953
rust
/
src
/
test
/
compile-fail
/
unique-unique-kind.rs
8 lines
94 B
Rust
Raw
Normal View
History
Unescape
Escape
Const kind checking. The rules are almost certainly incomplete and unsound...
2012-05-24 16:24:09 -05:00
fn
f
<
T
:
send
>
(
_i
:
T
)
{
Calculate the correct kind for unique boxes Issue #409
2011-09-22 17:28:49 -05:00
}
fn
main
(
)
{
let
i
=
~
@
100
;
Const kind checking. The rules are almost certainly incomplete and unsound...
2012-05-24 16:24:09 -05:00
f
(
i
)
;
//! ERROR missing `send`
}
Reference in New Issue
Copy Permalink