]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-99080.stderr
Rollup merge of #107116 - ozkanonur:consolidate-bootstrap-docs, r=jyn514
[rust.git] / tests / ui / suggestions / issue-99080.stderr
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`.