]> git.lizzy.rs Git - rust.git/blob - src/test/ui/syntax-trait-polarity-feature-gate.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[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 (see issue #13231)
2   --> $DIR/syntax-trait-polarity-feature-gate.rs:7:1
3    |
4 LL | impl !Send for TestType {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(optin_builtin_traits)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.