1 error[E0275]: overflow evaluating the requirement `X<C<'_>>: NotAuto`
2 --> $DIR/lifetime.rs:28:5
4 LL | is_send::<X<C<'static>>>();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 note: required for `Box<X<C<'_>>>` to implement `NotAuto`
8 --> $DIR/lifetime.rs:18:18
10 LL | impl<T: NotAuto> NotAuto for Box<T> {}
12 = note: 3 redundant requirements hidden
13 = note: required for `X<C<'static>>` to implement `NotAuto`
14 note: required by a bound in `is_send`
15 --> $DIR/lifetime.rs:22:15
17 LL | fn is_send<S: NotAuto>() {}
18 | ^^^^^^^ required by this bound in `is_send`
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0275`.