fork/rust

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

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

master
588 B17 linesraw
1error[E0283]: type annotations needed: cannot satisfy `T: Bar`
2  --> $DIR/two-projection-param-candidates-are-ambiguous.rs:26:17
3   |
4LL |     needs_bar::<T>();
5   |                 ^
6   |
7   = note: cannot satisfy `T: Bar`
8   = help: the trait `Bar` is implemented for `T`
9note: required by a bound in `needs_bar`
10  --> $DIR/two-projection-param-candidates-are-ambiguous.rs:23:17
11   |
12LL | fn needs_bar<T: Bar>() {}
13   |                 ^^^ required by this bound in `needs_bar`
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0283`.