Bless tests

This commit is contained in:
Danuel 2021-02-02 00:43:16 +09:00
parent 8bbb2d057d
commit 838f487fc5

View File

@ -61,14 +61,14 @@ LL | use builtin_attrs::*;
= help: use `crate::repr` to refer to this attribute macro unambiguously
error[E0659]: `allow` is ambiguous (built-in attribute vs any other name)
--> $DIR/ambiguous-builtin-attrs.rs:36:3
--> $DIR/ambiguous-builtin-attrs.rs:38:3
|
LL | #[allow(unused)]
| ^^^^^ ambiguous name
|
= note: `allow` could refer to a built-in attribute
note: `allow` could also refer to the built-in attribute imported here
--> $DIR/ambiguous-builtin-attrs.rs:35:5
--> $DIR/ambiguous-builtin-attrs.rs:37:5
|
LL | use deny as allow;
| ^^^^^^^^^^^^^
@ -103,7 +103,7 @@ LL | #[repr(C)]
LL | _ => {}
| ------- not a struct, enum, or union
error: aborting due to 8 previous errors
error: aborting due to 9 previous errors
Some errors have detailed explanations: E0425, E0517, E0659.
For more information about an error, try `rustc --explain E0425`.