fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
707 B20 linesraw
1error[E0275]: overflow evaluating the requirement `Box<X<C<'static>>>: NotAuto`
2  --> $DIR/lifetime.rs:29:5
3   |
4LL |     is_send::<X<C<'static>>>();
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: required for `X<C<'static>>` to implement `NotAuto`
8  --> $DIR/lifetime.rs:19:12
9   |
10LL | impl<T: Y> NotAuto for X<T> where T::P: NotAuto {}
11   |            ^^^^^^^     ^^^^             ------- unsatisfied trait bound introduced here
12note: required by a bound in `is_send`
13  --> $DIR/lifetime.rs:23:15
14   |
15LL | fn is_send<S: NotAuto>() {}
16   |               ^^^^^^^ required by this bound in `is_send`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0275`.