diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/derives/deriving-meta-unknown-trait.stderr | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/test/ui/derives/deriving-meta-unknown-trait.stderr b/src/test/ui/derives/deriving-meta-unknown-trait.stderr new file mode 100644 index 000000000..f3ff95a85 --- /dev/null +++ b/src/test/ui/derives/deriving-meta-unknown-trait.stderr @@ -0,0 +1,24 @@ +error: cannot find derive macro `Eqr` in this scope + --> $DIR/deriving-meta-unknown-trait.rs:1:10 + | +LL | #[derive(Eqr)] + | ^^^ help: a derive macro with a similar name exists: `Eq` + | + ::: $SRC_DIR/core/src/cmp.rs:LL:COL + | +LL | pub macro Eq($item:item) { + | ------------ similarly named derive macro `Eq` defined here + +error: cannot find derive macro `Eqr` in this scope + --> $DIR/deriving-meta-unknown-trait.rs:1:10 + | +LL | #[derive(Eqr)] + | ^^^ help: a derive macro with a similar name exists: `Eq` + | + ::: $SRC_DIR/core/src/cmp.rs:LL:COL + | +LL | pub macro Eq($item:item) { + | ------------ similarly named derive macro `Eq` defined here + +error: aborting due to 2 previous errors + |