2021-05-15 11:10:56 -05:00
|
|
|
error[E0275]: overflow evaluating the requirement `Box<X<C<'_>>>: NotAuto`
|
2021-02-08 16:15:45 -06:00
|
|
|
--> $DIR/lifetime.rs:27:5
|
2020-06-16 12:27:40 -05:00
|
|
|
|
|
|
|
|
LL | fn is_send<S: NotAuto>() {}
|
|
|
|
| ------- required by this bound in `is_send`
|
|
|
|
...
|
|
|
|
LL | is_send::<X<C<'static>>>();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2021-05-15 11:10:56 -05:00
|
|
|
note: required because of the requirements on the impl of `NotAuto` for `X<C<'_>>`
|
2021-03-30 15:37:30 -05:00
|
|
|
--> $DIR/lifetime.rs:19:12
|
|
|
|
|
|
|
|
|
LL | impl<T: Y> NotAuto for X<T> where T::P: NotAuto {}
|
|
|
|
| ^^^^^^^ ^^^^
|
2021-05-15 11:10:56 -05:00
|
|
|
= note: 2 redundant requirements hidden
|
|
|
|
= note: required because of the requirements on the impl of `NotAuto` for `X<C<'static>>`
|
2020-06-16 12:27:40 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|