]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-21659-show-relevant-trait-impls-1.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-21659-show-relevant-trait-impls-1.rs
index 8ea63fdf1762d5b3e891cefbb6e58d6cb4cd2a9c..e880a8b212bbc101255d60147d62756d9ff85320 100644 (file)
@@ -32,7 +32,7 @@ fn main() {
     let f1 = Bar;
 
     f1.foo(1usize);
-    //~^ error: the trait `Foo<usize>` is not implemented for the type `Bar`
+    //~^ error: the trait bound `Bar: Foo<usize>` is not satisfied
     //~| help: the following implementations were found:
     //~| help:   <Bar as Foo<i32>>
     //~| help:   <Bar as Foo<u8>>