]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-6458.rs
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-6458.rs
index f8354ddbf12a58df5563eb80639a3dfb1cfab696..db4d4e76c11c9ae26a91b738678d6cb99786788d 100644 (file)
@@ -17,9 +17,8 @@ pub fn foo<State>(_: TypeWithState<State>) {}
 
 pub fn bar() {
    foo(TypeWithState(marker::PhantomData));
-   //~^ ERROR unable to infer enough type information about `State` [E0282]
+   //~^ ERROR type annotations needed [E0282]
    //~| NOTE cannot infer type for `State`
-   //~| NOTE type annotations or generic parameter binding
 }
 
 fn main() {