diff options
Diffstat (limited to 'src/test/compile-fail/unboxed-closure-feature-gate.rs')
| -rw-r--r-- | src/test/compile-fail/unboxed-closure-feature-gate.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/unboxed-closure-feature-gate.rs b/src/test/compile-fail/unboxed-closure-feature-gate.rs index 5eb67a9bb71..3536244f011 100644 --- a/src/test/compile-fail/unboxed-closure-feature-gate.rs +++ b/src/test/compile-fail/unboxed-closure-feature-gate.rs @@ -11,7 +11,8 @@ // Check that parenthetical notation is feature-gated except with the // `Fn` traits. -trait Foo<A,R> { +trait Foo<A> { + type Output; } fn main() { |
