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
1fe0d8d7d7
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
;
change the test suite `//! kind` syntax to `//~ kind` in order to avoid a conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-30 06:23:59 -05:00
f
(
i
)
;
//~ ERROR missing `send`
Const kind checking. The rules are almost certainly incomplete and unsound...
2012-05-24 16:24:09 -05:00
}
Reference in New Issue
Copy Permalink