]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/traits-inductive-overflow-lifetime.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / traits / traits-inductive-overflow-lifetime.stderr
1 error[E0275]: overflow evaluating the requirement `Box<X<C<'_>>>: NotAuto`
2 --> $DIR/traits-inductive-overflow-lifetime.rs:27:5
3 |
4 LL | fn is_send<S: NotAuto>() {}
5 | ------- required by this bound in `is_send`
6 ...
7 LL | is_send::<X<C<'static>>>();
8 | ^^^^^^^^^^^^^^^^^^^^^^^^
9 |
10 = note: required because of the requirements on the impl of `NotAuto` for `X<C<'static>>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0275`.