mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
30 lines
953 B
Plaintext
30 lines
953 B
Plaintext
warning: the feature `unsafe_binders` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
--> $DIR/expr.rs:1:12
|
|
|
|
|
LL | #![feature(unsafe_binders)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #130516 <https://github.com/rust-lang/rust/issues/130516> for more information
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
|
|
error: unsafe binders are not yet implemented
|
|
--> $DIR/expr.rs:8:17
|
|
|
|
|
LL | let binder: unsafe<'a> &'a i32 = wrap_binder!(x);
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unsafe binders are not yet implemented
|
|
--> $DIR/expr.rs:8:51
|
|
|
|
|
LL | let binder: unsafe<'a> &'a i32 = wrap_binder!(x);
|
|
| ^
|
|
|
|
error: unsafe binders are not yet implemented
|
|
--> $DIR/expr.rs:11:30
|
|
|
|
|
LL | let rx = *unwrap_binder!(binder);
|
|
| ^^^^^^
|
|
|
|
error: aborting due to 3 previous errors; 1 warning emitted
|
|
|