about summary refs log tree commit diff
path: root/src/test/run-pass/issue-7911.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/issue-7911.rs')
-rw-r--r--src/test/run-pass/issue-7911.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/run-pass/issue-7911.rs b/src/test/run-pass/issue-7911.rs
index 86948ebcb91..3eb593708be 100644
--- a/src/test/run-pass/issue-7911.rs
+++ b/src/test/run-pass/issue-7911.rs
@@ -14,7 +14,9 @@
 // with different mutability in macro in two methods
 
 #![allow(unused_variable)] // unused foobar_immut + foobar_mut
-trait FooBar {}
+trait FooBar {
+    fn dummy(&self) { }
+}
 struct Bar(i32);
 struct Foo { bar: Bar }