summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/issue-39018.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/span/issue-39018.stderr (renamed from src/test/ui/span/issue-39018.stderr)5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/ui/span/issue-39018.stderr b/tests/ui/span/issue-39018.stderr
index eea94643e..5d4d692b2 100644
--- a/src/test/ui/span/issue-39018.stderr
+++ b/tests/ui/span/issue-39018.stderr
@@ -26,11 +26,8 @@ note: an implementation of `Add<_>` might be missing for `World`
|
LL | enum World {
| ^^^^^^^^^^ must implement `Add<_>`
-note: the following trait must be implemented
+note: the trait `Add` must be implemented
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
- |
-LL | pub trait Add<Rhs = Self> {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0369]: cannot add `String` to `&str`
--> $DIR/issue-39018.rs:11:22