about summary refs log tree commit diff
path: root/src/test/ui/syntax-trait-polarity-feature-gate.stderr
blob: 86b4bc1157b7282b00223e0a4a32e0b3da904026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now
  --> $DIR/syntax-trait-polarity-feature-gate.rs:7:1
   |
LL | impl !Send for TestType {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/13231
   = help: add #![feature(optin_builtin_traits)] to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.