]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-optin-builtin-traits.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-optin-builtin-traits.stderr
CommitLineData
48663c56 1error[E0658]: auto traits are experimental and possibly buggy
0731742a 2 --> $DIR/feature-gate-optin-builtin-traits.rs:6:1
ff7c6d11 3 |
0531ce1d 4LL | auto trait AutoDummyTrait {}
ff7c6d11
XL
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
74b04a01 7 = note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
416331ca 8 = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable
ff7c6d11 9
48663c56 10error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now
ba9703b0 11 --> $DIR/feature-gate-optin-builtin-traits.rs:9:6
ff7c6d11 12 |
0731742a 13LL | impl !AutoDummyTrait for DummyStruct {}
ba9703b0 14 | ^^^^^^^^^^^^^^^
ff7c6d11 15 |
ba9703b0
XL
16 = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
17 = help: add `#![feature(negative_impls)]` to the crate attributes to enable
ff7c6d11 18
2c00a5a8 19error: aborting due to 2 previous errors
ff7c6d11 20
0531ce1d 21For more information about this error, try `rustc --explain E0658`.