fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: impl method assumes more implied bounds than the corresponding trait method 2 --> $DIR/impl-implied-bounds-compatibility-unnormalized.rs:13:31 3 | 4LL | fn get<'s>(s: &'s str, _: <&'static &'s () as Project>::Ty) -> &'static str { 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this type to make the impl signature compatible: `()` 6 | 7 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 8 = note: for more information, see issue #105572 <https://github.com/rust-lang/rust/issues/105572> 9note: the lint level is defined here 10 --> $DIR/impl-implied-bounds-compatibility-unnormalized.rs:1:9 11 | 12LL | #![deny(implied_bounds_entailment)] 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 14 15error: aborting due to previous error 16 17Future incompatibility report: Future breakage diagnostic: 18error: impl method assumes more implied bounds than the corresponding trait method 19 --> $DIR/impl-implied-bounds-compatibility-unnormalized.rs:13:31 20 | 21LL | fn get<'s>(s: &'s str, _: <&'static &'s () as Project>::Ty) -> &'static str { 22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this type to make the impl signature compatible: `()` 23 | 24 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 25 = note: for more information, see issue #105572 <https://github.com/rust-lang/rust/issues/105572> 26note: the lint level is defined here 27 --> $DIR/impl-implied-bounds-compatibility-unnormalized.rs:1:9 28 | 29LL | #![deny(implied_bounds_entailment)] 30 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 31