]> git.lizzy.rs Git - rust.git/blob - src/test/ui/syntax-trait-polarity-feature-gate.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[rust.git] / src / test / ui / syntax-trait-polarity-feature-gate.stderr
1 error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now
2   --> $DIR/syntax-trait-polarity-feature-gate.rs:7:1
3    |
4 LL | impl !Send for TestType {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/13231
8    = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.