]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/no-implicit-prelude.rs
Perform 'deep recollection' in test helper macros
[rust.git] / src / test / ui / no-implicit-prelude.rs
index e2074bbb8c844503b88f071436f92abfa74e0a99..4b0ca4d524e620d09af55140b5d79e3d27ac7764 100644 (file)
@@ -8,7 +8,7 @@
 
 struct Test;
 impl Add for Test {} //~ ERROR cannot find trait `Add` in this scope
-impl Clone for Test {} //~ ERROR cannot find trait `Clone` in this scope
+impl Clone for Test {} //~ ERROR expected trait, found derive macro `Clone`
 impl Iterator for Test {} //~ ERROR cannot find trait `Iterator` in this scope
 impl ToString for Test {} //~ ERROR cannot find trait `ToString` in this scope
 impl Writer for Test {} //~ ERROR cannot find trait `Writer` in this scope