- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}
- remove syntax::{help!, span_help!, span_note!}
- remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!}
- lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints
- inline syntax::{struct_span_warn!, diagnostic_used!}
- stringify_error_code! -> error_code! & use it more.
- find_plugin_registrar: de-fatalize an error
- de-fatalize metadata errors
- move type_error_struct! to rustc_typeck
- struct_span_err! -> rustc_errors
This commit is contained in:
parent
7e393b5b3b
commit
2c3e5d3de0
110 changed files with 626 additions and 653 deletions
|
|
@ -2,8 +2,8 @@ Conflicting representation hints have been used on a same item.
|
|||
|
||||
Erroneous code example:
|
||||
|
||||
```
|
||||
#[repr(u32, u64)] // warning!
|
||||
```compile_fail,E0566
|
||||
#[repr(u32, u64)]
|
||||
enum Repr { A }
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue