]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type-alias-enum-variants/no-type-application-on-aliased-enum-variant.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / type-alias-enum-variants / no-type-application-on-aliased-enum-variant.rs
index c1153fa4dc7b4f315b770792992e398ee4bc7d7b..872ece0c0f99e4d1dedd99601c33b995ca7b1848 100644 (file)
@@ -10,5 +10,5 @@ fn main() {
     let _ = Option::<u8>::None; // OK
     let _ = Option::None::<u8>; // OK (Lint in future!)
     let _ = Alias::<u8>::None; // OK
-    let _ = Alias::None::<u8>; //~ ERROR type arguments are not allowed for this type
+    let _ = Alias::None::<u8>; //~ ERROR type arguments are not allowed on this type
 }