about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2025-06-11 23:14:10 +0800
committerDeadbeef <ent3rm4n@gmail.com>2025-06-19 17:50:44 +0800
commit3da58e673a723378942fc1828e45956025c97569 (patch)
tree988513a37fba3110a57e07c43febddb14c9f4932 /tests
parent4eaca5d1def1347e3c31bd549f419258a2bd6004 (diff)
downloadrust-3da58e673a723378942fc1828e45956025c97569.tar.gz
rust-3da58e673a723378942fc1828e45956025c97569.zip
completely deduplicate `Visitor` and `MutVisitor`
Diffstat (limited to 'tests')
-rw-r--r--tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr1
-rw-r--r--tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr5
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr b/tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr
index f54b6803b34..0c969b9c6d8 100644
--- a/tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr
+++ b/tests/ui-fulldeps/rustc-dev-remap.only-remap.stderr
@@ -9,6 +9,7 @@ LL |     type Result = NotAValidResultType;
              ControlFlow<T>
 note: required by a bound in `rustc_ast::visit::Visitor::Result`
   --> /rustc-dev/xyz/compiler/rustc_ast/src/visit.rs:LL:COL
+   = note: this error originates in the macro `common_visitor_and_walkers` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr b/tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr
index 438c23458e2..6ac8c3046f6 100644
--- a/tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr
+++ b/tests/ui-fulldeps/rustc-dev-remap.remap-unremap.stderr
@@ -10,8 +10,9 @@ LL |     type Result = NotAValidResultType;
 note: required by a bound in `rustc_ast::visit::Visitor::Result`
   --> $COMPILER_DIR_REAL/rustc_ast/src/visit.rs:LL:COL
    |
-LL |     type Result: VisitorResult = ();
-   |                  ^^^^^^^^^^^^^ required by this bound in `Visitor::Result`
+LL | common_visitor_and_walkers!(Visitor<'a>);
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Visitor::Result`
+   = note: this error originates in the macro `common_visitor_and_walkers` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 1 previous error