]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-3214.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-3214.rs
index 4f955df82051f535df746e4147542fdf0c3cbecb..d3b932fbc53efa5710b0a0843e25809f91148f4a 100644 (file)
@@ -11,7 +11,6 @@
 fn foo<T>() {
     struct foo {
         x: T, //~ ERROR can't use type parameters from outer function;
-        //~^ ERROR type name `T` is undefined or not in scope
     }
 
     impl<T> Drop for foo<T> {