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