rust/tests/ui/feature-gates/feature-gate-auto-traits.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
862 B
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: auto traits are experimental and possibly buggy
--> $DIR/feature-gate-auto-traits.rs:6:1
|
2018-02-22 18:42:32 -06:00
LL | auto trait AutoDummyTrait {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
= help: add `#![feature(auto_traits)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now
--> $DIR/feature-gate-auto-traits.rs:9:6
|
LL | impl !AutoDummyTrait for DummyStruct {}
| ^^^^^^^^^^^^^^^
|
2020-01-17 13:34:25 -06:00
= note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
= help: add `#![feature(negative_impls)]` to the crate attributes to enable
2017-12-04 16:55:14 -06:00
error: aborting due to 2 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.