2023-03-05 03:05:04 -06:00
|
|
|
error[E0275]: overflow evaluating the requirement `Box<X<C<'static>>>: NotAuto`
|
2023-01-10 21:21:11 -06:00
|
|
|
--> $DIR/lifetime.rs:29:5
|
2020-06-16 12:27:40 -05:00
|
|
|
|
|
|
|
|
LL | is_send::<X<C<'static>>>();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-03-05 03:05:04 -06:00
|
|
|
note: required for `X<C<'static>>` to implement `NotAuto`
|
|
|
|
--> $DIR/lifetime.rs:19:12
|
2021-03-30 15:37:30 -05:00
|
|
|
|
|
2023-03-05 03:05:04 -06:00
|
|
|
LL | impl<T: Y> NotAuto for X<T> where T::P: NotAuto {}
|
|
|
|
| ^^^^^^^ ^^^^ ------- unsatisfied trait bound introduced here
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `is_send`
|
2023-01-10 21:21:11 -06:00
|
|
|
--> $DIR/lifetime.rs:23:15
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
|
|
|
LL | fn is_send<S: NotAuto>() {}
|
|
|
|
| ^^^^^^^ required by this bound in `is_send`
|
2020-06-16 12:27:40 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|