diff options
Diffstat (limited to 'src/test/ui/pattern/pattern-tyvar-2.rs')
-rw-r--r-- | src/test/ui/pattern/pattern-tyvar-2.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/pattern/pattern-tyvar-2.rs b/src/test/ui/pattern/pattern-tyvar-2.rs deleted file mode 100644 index 7647c766e..000000000 --- a/src/test/ui/pattern/pattern-tyvar-2.rs +++ /dev/null @@ -1,6 +0,0 @@ -enum Bar { T1((), Option<Vec<isize>>), T2, } - -fn foo(t: Bar) -> isize { match t { Bar::T1(_, Some(x)) => { return x * 3; } _ => { panic!(); } } } -//~^ ERROR cannot multiply `Vec<isize>` by `{integer}` - -fn main() { } |