We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3cc761 commit d52fc6aCopy full SHA for d52fc6a
src/test/compile-fail/no-implicit-prelude-nested.rs
@@ -15,6 +15,8 @@
15
// fail with the same error message).
16
17
#[no_implicit_prelude]
18
+//~^ WARNING: deprecated
19
+//~^^ WARNING: deprecated
20
mod foo {
21
mod baz {
22
struct Test;
@@ -43,6 +45,8 @@ mod foo {
43
45
44
46
fn qux() {
47
48
+ //~^ WARNING: deprecated
49
+ //~^^ WARNING: deprecated
50
mod qux_inner {
51
52
impl Add for Test {} //~ ERROR: not in scope
src/test/compile-fail/no-implicit-prelude.rs
@@ -9,6 +9,8 @@
9
// except according to those terms.
10
11
#![no_implicit_prelude]
12
+//~^ WARN deprecated
13
+//~^^ WARN deprecated
14
// Test that things from the prelude aren't in scope. Use many of them
// so that renaming some things won't magically make this test fail
0 commit comments