diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2022-04-14 01:59:00 -0400 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2022-04-14 22:44:21 -0400 |
| commit | dac487ae2bf9f0d51b7462e9d311d67f46048643 (patch) | |
| tree | c96540c106edada21912daf884fd0614ea7430ca /compiler/rustc_error_codes/src | |
| parent | 0b3db4e4ee0767a8996f20538da85ce5e1bb46b2 (diff) | |
| download | rust-dac487ae2bf9f0d51b7462e9d311d67f46048643.tar.gz rust-dac487ae2bf9f0d51b7462e9d311d67f46048643.zip | |
Add note to E0550
With the change to built-in duplicate checking, E0550 is no longer emitted.
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0550.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0550.md b/compiler/rustc_error_codes/src/error_codes/E0550.md index 1487d701847..6aac5c969d2 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0550.md +++ b/compiler/rustc_error_codes/src/error_codes/E0550.md @@ -1,8 +1,10 @@ +#### Note: this error code is no longer emitted by the compiler + More than one `deprecated` attribute has been put on an item. Erroneous code example: -```compile_fail,E0550 +```compile_fail #[deprecated(note = "because why not?")] #[deprecated(note = "right?")] // error! fn the_banished() {} |
