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