diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2021-03-08 15:43:18 -0800 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2021-04-12 09:45:59 -0700 |
| commit | 664c3e71b8eebf824f5e652e0f0511acda99394c (patch) | |
| tree | c79297deeb720f22d3db668cad5d686c3251a1f5 /library/std/src | |
| parent | c18c0ad2bc5988ca7953459e5a35ece8e69e35e7 (diff) | |
| download | rust-664c3e71b8eebf824f5e652e0f0511acda99394c.tar.gz rust-664c3e71b8eebf824f5e652e0f0511acda99394c.zip | |
Turn old edition lints (anonymous-parameters, keyword-idents) into warn-by-default on 2015
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/keyword_docs.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index 2a3d44fb17d..39ed62425ce 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -1768,6 +1768,7 @@ mod super_keyword {} /// In the 2015 edition the parameters pattern was not needed for traits: /// /// ```rust,edition2015 +/// # #![allow(anonymous_parameters)] /// trait Tr { /// fn f(i32); /// } |
