]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-5997-enum.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-5997-enum.rs
index 20d239c6ae046540009c5215f44c7d415be7c04a..463fdaa106926a898579d7335aba455180227b17 100644 (file)
@@ -11,7 +11,6 @@
 fn f<Z>() -> bool {
     enum E { V(Z) }
     //~^ ERROR can't use type parameters from outer function
-    //~^^ ERROR type name `Z` is undefined or not in scope
     true
 }