2021-08-27 17:34:48 -05:00
|
|
|
error[E0275]: overflow evaluating the requirement `X<C<'_>>: 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>>>();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-08-15 15:31:37 -05:00
|
|
|
note: required for `Box<X<C<'_>>>` to implement `NotAuto`
|
2021-08-27 17:34:48 -05:00
|
|
|
--> $DIR/lifetime.rs:18:18
|
2021-03-30 15:37:30 -05:00
|
|
|
|
|
2021-08-27 17:34:48 -05:00
|
|
|
LL | impl<T: NotAuto> NotAuto for Box<T> {}
|
2023-01-10 21:21:11 -06:00
|
|
|
| ------- ^^^^^^^ ^^^^^^
|
|
|
|
| |
|
|
|
|
| unsatisfied trait bound introduced here
|
2021-08-27 17:34:48 -05:00
|
|
|
= note: 3 redundant requirements hidden
|
2022-08-15 15:31:37 -05:00
|
|
|
= note: required for `X<C<'static>>` to implement `NotAuto`
|
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`.
|