diff options
Diffstat (limited to 'src/test/compile-fail/issue-28098.rs')
| -rw-r--r-- | src/test/compile-fail/issue-28098.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/compile-fail/issue-28098.rs b/src/test/compile-fail/issue-28098.rs index f565d24e1fd..d81abd417f1 100644 --- a/src/test/compile-fail/issue-28098.rs +++ b/src/test/compile-fail/issue-28098.rs @@ -10,13 +10,13 @@ fn main() { let _ = Iterator::next(&mut ()); - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented for _ in false {} - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented let _ = Iterator::next(&mut ()); - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented other() } @@ -25,11 +25,11 @@ pub fn other() { // check errors are still reported globally let _ = Iterator::next(&mut ()); - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented let _ = Iterator::next(&mut ()); - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented for _ in false {} - //~^ ERROR the trait `core::iter::Iterator` is not implemented + //~^ ERROR the trait `std::iter::Iterator` is not implemented } |
