Skip to content

Commit 479298e

Browse files
committed
Re-run tests with --bless
1 parent 13dfbb6 commit 479298e

8 files changed

+28
-0
lines changed

src/test/ui/empty/empty-macro-use.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ error: cannot find macro `macro_two` in this scope
33
|
44
LL | macro_two!();
55
| ^^^^^^^^^
6+
|
7+
= note: consider importing this macro:
8+
two_macros::macro_two
69

710
error: aborting due to previous error
811

src/test/ui/hygiene/no_implicit_prelude-2018.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ error: cannot find macro `print` in this scope
33
|
44
LL | print!();
55
| ^^^^^
6+
|
7+
= note: consider importing this macro:
8+
std::print
69

710
error: aborting due to previous error
811

src/test/ui/hygiene/no_implicit_prelude.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ error: cannot find macro `panic` in this scope
44
LL | assert_eq!(0, 0);
55
| ^^^^^^^^^^^^^^^^^
66
|
7+
= note: consider importing one of these items:
8+
core::panic
9+
std::panic
710
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
811

912
error[E0433]: failed to resolve: use of undeclared type `Vec`

src/test/ui/issues/issue-11692-2.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ error: cannot find macro `test` in this scope
33
|
44
LL | concat!(test!());
55
| ^^^^
6+
|
7+
= note: consider importing this attribute macro:
8+
std::prelude::v1::test
69

710
error: aborting due to previous error
811

src/test/ui/macros/macro-use-wrong-name.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ LL | macro_two!();
88
|
99
LL | macro_rules! macro_one { () => ("one") }
1010
| ---------------------- similarly named macro `macro_one` defined here
11+
|
12+
= note: consider importing this macro:
13+
two_macros::macro_two
1114

1215
error: aborting due to previous error
1316

src/test/ui/missing/missing-macro-use.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ error: cannot find macro `macro_two` in this scope
33
|
44
LL | macro_two!();
55
| ^^^^^^^^^
6+
|
7+
= note: consider importing this macro:
8+
two_macros::macro_two
69

710
error: aborting due to previous error
811

src/test/ui/proc-macro/derive-helper-shadowing.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ error: cannot find attribute `empty_helper` in this scope
1616
LL | #[derive(GenHelperUse)]
1717
| ^^^^^^^^^^^^
1818
|
19+
= note: consider importing this attribute macro:
20+
empty_helper
1921
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
2022

2123
error: cannot find attribute `empty_helper` in this scope
@@ -27,6 +29,8 @@ LL | #[empty_helper]
2729
LL | gen_helper_use!();
2830
| ------------------ in this macro invocation
2931
|
32+
= note: consider importing this attribute macro:
33+
crate::empty_helper
3034
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
3135

3236
error[E0659]: `empty_helper` is ambiguous (name vs any other name during import resolution)

src/test/ui/proc-macro/macro-namespace-reserved-2.stderr

+6
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,18 @@ error: cannot find macro `my_macro_attr` in this scope
9393
|
9494
LL | my_macro_attr!();
9595
| ^^^^^^^^^^^^^
96+
|
97+
= note: consider importing this attribute macro:
98+
my_macro_attr
9699

97100
error: cannot find macro `MyTrait` in this scope
98101
--> $DIR/macro-namespace-reserved-2.rs:33:5
99102
|
100103
LL | MyTrait!();
101104
| ^^^^^^^
105+
|
106+
= note: consider importing this derive macro:
107+
MyTrait
102108

103109
error: cannot find attribute `my_macro` in this scope
104110
--> $DIR/macro-namespace-reserved-2.rs:38:3

0 commit comments

Comments
 (0)