]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes |
2 | --> $DIR/negative-reasoning.rs:5:32 | |
3 | | | |
4 | LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
8 | = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information | |
9 | ||
cdc7bbd5 | 10 | error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<impl OpaqueTrait>` |
6a06907d | 11 | --> $DIR/negative-reasoning.rs:22:1 |
e74abb32 | 12 | | |
f035d41b | 13 | LL | impl<T: std::fmt::Debug> AnotherTrait for T {} |
e74abb32 XL |
14 | | ------------------------------------------- first implementation here |
15 | ... | |
16 | LL | impl AnotherTrait for D<OpaqueType> { | |
f035d41b | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<impl OpaqueTrait>` |
e74abb32 | 18 | | |
f035d41b | 19 | = note: upstream crates may add a new impl of trait `std::fmt::Debug` for type `impl OpaqueTrait` in future versions |
e74abb32 | 20 | |
6a06907d | 21 | error: aborting due to previous error; 1 warning emitted |
e74abb32 XL |
22 | |
23 | For more information about this error, try `rustc --explain E0119`. |