summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/duplicate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/duplicate.rs')
-rw-r--r--tests/ui/imports/duplicate.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/imports/duplicate.rs b/tests/ui/imports/duplicate.rs
index db6538969..0c5a376da 100644
--- a/tests/ui/imports/duplicate.rs
+++ b/tests/ui/imports/duplicate.rs
@@ -34,6 +34,8 @@ fn main() {
e::foo();
f::foo(); //~ ERROR `foo` is ambiguous
g::foo();
+ //~^ WARNING `foo` is ambiguous
+ //~| WARNING this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
}
mod ambiguous_module_errors {