mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Bless tests
This commit is contained in:
parent
8bbb2d057d
commit
838f487fc5
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user