summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-99080.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/issue-99080.stderr')
-rw-r--r--src/test/ui/suggestions/issue-99080.stderr20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/ui/suggestions/issue-99080.stderr b/src/test/ui/suggestions/issue-99080.stderr
new file mode 100644
index 000000000..d1908dd9d
--- /dev/null
+++ b/src/test/ui/suggestions/issue-99080.stderr
@@ -0,0 +1,20 @@
+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`:
+ GlobalMeow
+ LocalMeow
+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 previous error
+
+For more information about this error, try `rustc --explain E0277`.