about summary refs log tree commit diff
path: root/tests/ui/issues/issue-27340.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-03-11 23:42:36 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-03-14 19:50:03 +0000
commitf0b8e13b59a68d63cf7083be5cd6dcca3abf18ff (patch)
tree08b7bd21fe99866e81f5f2ede1f6f4fb2ffcd4d7 /tests/ui/issues/issue-27340.stderr
parentf7b43542838f0a4a6cfdb17fbeadf45002042a77 (diff)
downloadrust-f0b8e13b59a68d63cf7083be5cd6dcca3abf18ff.tar.gz
rust-f0b8e13b59a68d63cf7083be5cd6dcca3abf18ff.zip
Do not suggest using `-Zmacro-backtrace` for builtin macros
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
Diffstat (limited to 'tests/ui/issues/issue-27340.stderr')
-rw-r--r--tests/ui/issues/issue-27340.stderr3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/ui/issues/issue-27340.stderr b/tests/ui/issues/issue-27340.stderr
index 61ae660f4cf..d5ff29a618b 100644
--- a/tests/ui/issues/issue-27340.stderr
+++ b/tests/ui/issues/issue-27340.stderr
@@ -6,8 +6,6 @@ LL | #[derive(Copy, Clone)]
 LL |
 LL | struct Bar(Foo);
    |            --- this field does not implement `Copy`
-   |
-   = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0277]: the trait bound `Foo: Clone` is not satisfied
   --> $DIR/issue-27340.rs:4:12
@@ -20,7 +18,6 @@ LL | struct Bar(Foo);
    |
 note: required by a bound in `AssertParamIsClone`
   --> $SRC_DIR/core/src/clone.rs:LL:COL
-   = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
 help: consider annotating `Foo` with `#[derive(Clone)]`
    |
 LL + #[derive(Clone)]