fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1warning[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 2 --> $DIR/inverse-bounds.rs:16:70 3 | 4LL | fn upper_bounds<'a, 'b, 'c, 'd, 'e>(a: Invert<'a>, b: Invert<'b>) -> impl Trait<'d, 'e> 5 | ^^^^^^^^^^^^^^^^^^ 6 | 7 = note: hidden type `Invert<'_>` captures lifetime '_#8r 8 = warning: this error has been downgraded to a warning for backwards compatibility with previous releases 9 = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future 10 = note: for more information, try `rustc --explain E0729` 11 12warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable 13 --> $DIR/inverse-bounds.rs:4:60 14 | 15LL | #![feature(arbitrary_self_types, async_await, await_macro, pin)] 16 | ^^^ 17 | 18 = note: #[warn(stable_features)] on by default 19