about summary refs log tree commit diff
path: root/src/test/compile-fail/sized-cycle-note.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/sized-cycle-note.rs')
-rw-r--r--src/test/compile-fail/sized-cycle-note.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/sized-cycle-note.rs b/src/test/compile-fail/sized-cycle-note.rs
index bb1ab2eafb3..ec378d05ba5 100644
--- a/src/test/compile-fail/sized-cycle-note.rs
+++ b/src/test/compile-fail/sized-cycle-note.rs
@@ -20,10 +20,10 @@ struct Baz { q: Option<Foo> }
 
 struct Foo { q: Option<Baz> }
 //~^ ERROR recursive type `Foo` has infinite size
-//~| type `Foo` is embedded within `core::option::Option<Foo>`...
-//~| ...which in turn is embedded within `core::option::Option<Foo>`...
+//~| type `Foo` is embedded within `std::option::Option<Foo>`...
+//~| ...which in turn is embedded within `std::option::Option<Foo>`...
 //~| ...which in turn is embedded within `Baz`...
-//~| ...which in turn is embedded within `core::option::Option<Baz>`...
+//~| ...which in turn is embedded within `std::option::Option<Baz>`...
 //~| ...which in turn is embedded within `Foo`, completing the cycle.
 
 impl Foo { fn bar(&self) {} }