Skip to content

Commit

Permalink
Rollup merge of rust-lang#70309 - GuillaumeGomez:cleanup-e0452, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0452 explanation

r? @Dylan-DPC
  • Loading branch information
Centril committed Mar 23, 2020
2 parents 54db0cf + 19e6935 commit 3b8872d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_error_codes/error_codes/E0452.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
An invalid lint attribute has been given. Erroneous code example:
An invalid lint attribute has been given.

Erroneous code example:

```compile_fail,E0452
#![allow(foo = "")] // error: malformed lint attribute
Expand Down

0 comments on commit 3b8872d

Please sign in to comment.