]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-2149.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-2149.rs
index 256c5d8e6f72cc08d375e1e45caba593528c0e77..9143a226a248355a8a932e859dea6b5e8809717b 100644 (file)
@@ -21,5 +21,5 @@ impl<A> vec_monad<A> for Vec<A> {
 }
 fn main() {
     ["hi"].bind(|x| [x] );
-    //~^ ERROR no method named `bind` found for type `[&str; 1]` in the current scope
+    //~^ ERROR no method named `bind` found for type `[&'static str; 1]` in the current scope
 }