fork/rust

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

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

master
668 B20 linesraw
1error[E0277]: the trait bound `usize: Meow` is not satisfied
2  --> $DIR/issue-99080.rs:10:16
3   |
4LL |     needs_meow(1usize);
5   |     ---------- ^^^^^^ the trait `Meow` is not implemented for `usize`
6   |     |
7   |     required by a bound introduced by this call
8   |
9   = help: the following other types implement trait `Meow`:
10             GlobalMeow
11             LocalMeow
12note: required by a bound in `needs_meow`
13  --> $DIR/issue-99080.rs:7:18
14   |
15LL | fn needs_meow<T: Meow>(t: T) {}
16   |                  ^^^^ required by this bound in `needs_meow`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0277`.