diff --git a/src/test/compile-fail/name-clash-nullary-2.rs b/src/test/compile-fail/name-clash-nullary-2.rs index 15b407063eb1..99aff5bed154 100644 --- a/src/test/compile-fail/name-clash-nullary-2.rs +++ b/src/test/compile-fail/name-clash-nullary-2.rs @@ -1,4 +1,4 @@ -// error-pattern:Declaration of thpppt shadows a tag +// error-pattern:Declaration of thpppt shadows tag ack { thpppt; ffff; } fn main() { diff --git a/src/test/compile-fail/name-clash-nullary.rs b/src/test/compile-fail/name-clash-nullary.rs index 421ef6bf767f..36c131cde4d9 100644 --- a/src/test/compile-fail/name-clash-nullary.rs +++ b/src/test/compile-fail/name-clash-nullary.rs @@ -1,4 +1,4 @@ -// error-pattern:Declaration of none shadows a tag +// error-pattern:Declaration of none shadows import option::*; fn main() {