@@ -8,16 +8,12 @@ LL | 1u32.method();
8
8
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
9
9
|
10
10
LL + use foo::Bar;
11
- LL | extern crate no_method_suggested_traits;
12
11
|
13
12
LL + use no_method_suggested_traits::Reexported;
14
- LL | extern crate no_method_suggested_traits;
15
13
|
16
14
LL + use no_method_suggested_traits::foo::PubPub;
17
- LL | extern crate no_method_suggested_traits;
18
15
|
19
16
LL + use no_method_suggested_traits::qux::PrivPub;
20
- LL | extern crate no_method_suggested_traits;
21
17
|
22
18
23
19
error[E0599]: no method named `method` found for struct `Rc<&mut Box<&u32>>` in the current scope
@@ -30,16 +26,12 @@ LL | std::rc::Rc::new(&mut Box::new(&1u32)).method();
30
26
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
31
27
|
32
28
LL + use foo::Bar;
33
- LL | extern crate no_method_suggested_traits;
34
29
|
35
30
LL + use no_method_suggested_traits::Reexported;
36
- LL | extern crate no_method_suggested_traits;
37
31
|
38
32
LL + use no_method_suggested_traits::foo::PubPub;
39
- LL | extern crate no_method_suggested_traits;
40
33
|
41
34
LL + use no_method_suggested_traits::qux::PrivPub;
42
- LL | extern crate no_method_suggested_traits;
43
35
|
44
36
45
37
error[E0599]: no method named `method` found for type `char` in the current scope
@@ -55,7 +47,6 @@ LL | 'a'.method();
55
47
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
56
48
|
57
49
LL + use foo::Bar;
58
- LL | extern crate no_method_suggested_traits;
59
50
|
60
51
61
52
error[E0599]: no method named `method` found for struct `Rc<&mut Box<&char>>` in the current scope
@@ -68,7 +59,6 @@ LL | std::rc::Rc::new(&mut Box::new(&'a')).method();
68
59
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
69
60
|
70
61
LL + use foo::Bar;
71
- LL | extern crate no_method_suggested_traits;
72
62
|
73
63
74
64
error[E0599]: no method named `method` found for type `i32` in the current scope
@@ -86,7 +76,6 @@ LL | fn method(&self) {}
86
76
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
87
77
|
88
78
LL + use no_method_suggested_traits::foo::PubPub;
89
- LL | extern crate no_method_suggested_traits;
90
79
|
91
80
92
81
error[E0599]: no method named `method` found for struct `Rc<&mut Box<&i32>>` in the current scope
@@ -99,7 +88,6 @@ LL | std::rc::Rc::new(&mut Box::new(&1i32)).method();
99
88
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
100
89
|
101
90
LL + use no_method_suggested_traits::foo::PubPub;
102
- LL | extern crate no_method_suggested_traits;
103
91
|
104
92
105
93
error[E0599]: no method named `method` found for struct `Foo` in the current scope
0 commit comments