fork/rust

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

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

master
965 B27 linesraw
1warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
2  --> $DIR/universe-error1.rs:1:12
3   |
4LL | #![feature(non_lifetime_binders)]
5   |            ^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
8   = note: `#[warn(incomplete_features)]` on by default
9
10error[E0277]: the trait bound `T: Other<_>` is not satisfied
11  --> $DIR/universe-error1.rs:14:11
12   |
13LL |     foo::<_>();
14   |           ^ the trait `Other<_>` is not implemented for `T`
15   |
16note: required by a bound in `foo`
17  --> $DIR/universe-error1.rs:11:15
18   |
19LL | fn foo<U: ?Sized>()
20   |    --- required by a bound in this function
21LL | where
22LL |     for<T> T: Other<U> {}
23   |               ^^^^^^^^ required by this bound in `foo`
24
25error: aborting due to previous error; 1 warning emitted
26
27For more information about this error, try `rustc --explain E0277`.