diff options
Diffstat (limited to 'src/test/run-pass/regions-bound-lists-feature-gate.rs')
-rw-r--r-- | src/test/run-pass/regions-bound-lists-feature-gate.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/run-pass/regions-bound-lists-feature-gate.rs b/src/test/run-pass/regions-bound-lists-feature-gate.rs index c5baecf7272..996583dc6de 100644 --- a/src/test/run-pass/regions-bound-lists-feature-gate.rs +++ b/src/test/run-pass/regions-bound-lists-feature-gate.rs @@ -12,8 +12,9 @@ #![feature(issue_5723_bootstrap)] - -trait Foo { } +trait Foo { + fn dummy(&self) { } +} fn foo<'a>(x: Box<Foo + 'a>) { } |