]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-34074.rs
Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik
[rust.git] / src / test / run-pass / issue-34074.rs
index 169a87f0b12fcb654d99292247afad4bb86806dc..17d2bee74661964bc0e7c6ddc4f92906199a1882 100644 (file)
@@ -8,9 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// Make sure several unnamed function arguments don't conflict with each other
+// Make sure several unnamed function parameters don't conflict with each other
 
 trait Tr {
+    #[allow(anonymous_parameters)]
     fn f(u8, u8) {}
 }