Bless tests
This commit is contained in:
parent
8bbb2d057d
commit
838f487fc5
1 changed files with 3 additions and 3 deletions
|
@ -61,14 +61,14 @@ LL | use builtin_attrs::*;
|
||||||
= help: use `crate::repr` to refer to this attribute macro unambiguously
|
= help: use `crate::repr` to refer to this attribute macro unambiguously
|
||||||
|
|
||||||
error[E0659]: `allow` is ambiguous (built-in attribute vs any other name)
|
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)]
|
LL | #[allow(unused)]
|
||||||
| ^^^^^ ambiguous name
|
| ^^^^^ ambiguous name
|
||||||
|
|
|
|
||||||
= note: `allow` could refer to a built-in attribute
|
= note: `allow` could refer to a built-in attribute
|
||||||
note: `allow` could also refer to the built-in attribute imported here
|
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;
|
LL | use deny as allow;
|
||||||
| ^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^
|
||||||
|
@ -103,7 +103,7 @@ LL | #[repr(C)]
|
||||||
LL | _ => {}
|
LL | _ => {}
|
||||||
| ------- not a struct, enum, or union
|
| ------- 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.
|
Some errors have detailed explanations: E0425, E0517, E0659.
|
||||||
For more information about an error, try `rustc --explain E0425`.
|
For more information about an error, try `rustc --explain E0425`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue