summary refs log tree commit diff
path: root/src/test/run-pass/issue-17771.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/issue-17771.rs')
-rw-r--r--src/test/run-pass/issue-17771.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/issue-17771.rs b/src/test/run-pass/issue-17771.rs
index 1e9550acef4..2f1b0342b8e 100644
--- a/src/test/run-pass/issue-17771.rs
+++ b/src/test/run-pass/issue-17771.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-trait Aaa {}
+trait Aaa { fn dummy(&self) { } }
 
 impl<'a> Aaa for &'a mut (Aaa + 'a) {}