]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/pattern-tyvar-2.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / pattern / pattern-tyvar-2.rs
index 4c6d515b86af348166d1aed9bf4538cf3c6bcb61..532df4fa0cbe8c1b5f2f993570d7b2c5101da573 100644 (file)
@@ -1,6 +1,6 @@
 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 `{integer}` to `std::vec::Vec<isize>`
+//~^ ERROR cannot multiply `{integer}` to `Vec<isize>`
 
 fn main() { }