From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../issue-39802-show-5-trait-impls.stderr | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr (limited to 'src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr') diff --git a/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr b/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr new file mode 100644 index 000000000..d27b05fe7 --- /dev/null +++ b/src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr @@ -0,0 +1,57 @@ +error[E0277]: the trait bound `i8: Foo` is not satisfied + --> $DIR/issue-39802-show-5-trait-impls.rs:24:21 + | +LL | Foo::::bar(&1i8); + | --------------- ^^^^ the trait `Foo` is not implemented for `i8` + | | + | required by a bound introduced by this call + | + = help: the following other types implement trait `Foo`: + > + > + > + > + > + > + > + > + > + +error[E0277]: the trait bound `u8: Foo` is not satisfied + --> $DIR/issue-39802-show-5-trait-impls.rs:25:21 + | +LL | Foo::::bar(&1u8); + | --------------- ^^^^ the trait `Foo` is not implemented for `u8` + | | + | required by a bound introduced by this call + | + = help: the following other types implement trait `Foo`: + > + > + > + > + > + > + > + > + > + +error[E0277]: the trait bound `bool: Foo` is not satisfied + --> $DIR/issue-39802-show-5-trait-impls.rs:26:21 + | +LL | Foo::::bar(&true); + | --------------- ^^^^^ the trait `Foo` is not implemented for `bool` + | | + | required by a bound introduced by this call + | + = help: the following other types implement trait `Foo`: + > + > + > + > + > + > + +error: aborting due to 3 previous errors + +For more information about this error, try `rustc --explain E0277`. -- cgit v1.2.3