Re-run tests with --bless

This commit is contained in:
Temirkhan Myrzamadi 2020-08-06 16:42:06 +06:00
parent 13dfbb64d3
commit 479298e05e
8 changed files with 28 additions and 0 deletions

View file

@ -3,6 +3,9 @@ error: cannot find macro `macro_two` in this scope
|
LL | macro_two!();
| ^^^^^^^^^
|
= note: consider importing this macro:
two_macros::macro_two
error: aborting due to previous error

View file

@ -3,6 +3,9 @@ error: cannot find macro `print` in this scope
|
LL | print!();
| ^^^^^
|
= note: consider importing this macro:
std::print
error: aborting due to previous error

View file

@ -4,6 +4,9 @@ error: cannot find macro `panic` in this scope
LL | assert_eq!(0, 0);
| ^^^^^^^^^^^^^^^^^
|
= note: consider importing one of these items:
core::panic
std::panic
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: use of undeclared type `Vec`

View file

@ -3,6 +3,9 @@ error: cannot find macro `test` in this scope
|
LL | concat!(test!());
| ^^^^
|
= note: consider importing this attribute macro:
std::prelude::v1::test
error: aborting due to previous error

View file

@ -8,6 +8,9 @@ LL | macro_two!();
|
LL | macro_rules! macro_one { () => ("one") }
| ---------------------- similarly named macro `macro_one` defined here
|
= note: consider importing this macro:
two_macros::macro_two
error: aborting due to previous error

View file

@ -3,6 +3,9 @@ error: cannot find macro `macro_two` in this scope
|
LL | macro_two!();
| ^^^^^^^^^
|
= note: consider importing this macro:
two_macros::macro_two
error: aborting due to previous error

View file

@ -16,6 +16,8 @@ error: cannot find attribute `empty_helper` in this scope
LL | #[derive(GenHelperUse)]
| ^^^^^^^^^^^^
|
= note: consider importing this attribute macro:
empty_helper
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find attribute `empty_helper` in this scope
@ -27,6 +29,8 @@ LL | #[empty_helper]
LL | gen_helper_use!();
| ------------------ in this macro invocation
|
= note: consider importing this attribute macro:
crate::empty_helper
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0659]: `empty_helper` is ambiguous (name vs any other name during import resolution)

View file

@ -93,12 +93,18 @@ error: cannot find macro `my_macro_attr` in this scope
|
LL | my_macro_attr!();
| ^^^^^^^^^^^^^
|
= note: consider importing this attribute macro:
my_macro_attr
error: cannot find macro `MyTrait` in this scope
--> $DIR/macro-namespace-reserved-2.rs:33:5
|
LL | MyTrait!();
| ^^^^^^^
|
= note: consider importing this derive macro:
MyTrait
error: cannot find attribute `my_macro` in this scope
--> $DIR/macro-namespace-reserved-2.rs:38:3