]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | error[E0277]: the trait bound `usize: Meow` is not satisfied |
2 | --> $DIR/issue-99080.rs:10:16 | |
3 | | | |
4 | LL | 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 | |
12 | note: required by a bound in `needs_meow` | |
13 | --> $DIR/issue-99080.rs:7:18 | |
14 | | | |
15 | LL | fn needs_meow<T: Meow>(t: T) {} | |
16 | | ^^^^ required by this bound in `needs_meow` | |
17 | ||
18 | error: aborting due to previous error | |
19 | ||
20 | For more information about this error, try `rustc --explain E0277`. |