blob: 93672ac52cedc4f6d4e48eada45db03f07cca7c6 [file] [log] [blame]
error[E0277]: the trait bound `usize: Meow` is not satisfied
--> $DIR/issue-99080.rs:10:16
|
LL | needs_meow(1usize);
| ---------- ^^^^^^ the trait `Meow` is not implemented for `usize`
| |
| required by a bound introduced by this call
|
help: the following other types implement trait `Meow`
--> $DIR/issue-99080.rs:16:1
|
LL | impl Meow for LocalMeow {}
| ^^^^^^^^^^^^^^^^^^^^^^^ `LocalMeow`
|
::: $DIR/auxiliary/meow.rs:7:1
|
LL | impl Meow for GlobalMeow {}
| ^^^^^^^^^^^^^^^^^^^^^^^^ `GlobalMeow`
note: required by a bound in `needs_meow`
--> $DIR/issue-99080.rs:7:18
|
LL | fn needs_meow<T: Meow>(t: T) {}
| ^^^^ required by this bound in `needs_meow`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.