@@ -16,7 +16,7 @@ LL | use no_method_suggested_traits::qux::PrivPub;
1616LL | use no_method_suggested_traits::Reexported;
1717 |
1818
19- error[E0599]: no method named `method` found for struct `Rc<_> ` in the current scope
19+ error[E0599]: no method named `method` found for struct `Rc` in the current scope
2020 --> $DIR/no-method-suggested-traits.rs:26:44
2121 |
2222LL | std::rc::Rc::new(&mut Box::new(&1u32)).method();
@@ -46,7 +46,7 @@ help: the following trait is implemented but not in scope; perhaps add a `use` f
4646LL | use foo::Bar;
4747 |
4848
49- error[E0599]: no method named `method` found for struct `Rc<_> ` in the current scope
49+ error[E0599]: no method named `method` found for struct `Rc` in the current scope
5050 --> $DIR/no-method-suggested-traits.rs:32:43
5151 |
5252LL | std::rc::Rc::new(&mut Box::new(&'a')).method();
@@ -70,7 +70,7 @@ help: the following trait is implemented but not in scope; perhaps add a `use` f
7070LL | use no_method_suggested_traits::foo::PubPub;
7171 |
7272
73- error[E0599]: no method named `method` found for struct `Rc<_> ` in the current scope
73+ error[E0599]: no method named `method` found for struct `Rc` in the current scope
7474 --> $DIR/no-method-suggested-traits.rs:37:44
7575 |
7676LL | std::rc::Rc::new(&mut Box::new(&1i32)).method();
@@ -98,7 +98,7 @@ LL | Foo.method();
9898 candidate #3: `no_method_suggested_traits::qux::PrivPub`
9999 candidate #4: `Reexported`
100100
101- error[E0599]: no method named `method` found for struct `Rc<_> ` in the current scope
101+ error[E0599]: no method named `method` found for struct `Rc` in the current scope
102102 --> $DIR/no-method-suggested-traits.rs:42:43
103103 |
104104LL | std::rc::Rc::new(&mut Box::new(&Foo)).method();
@@ -124,7 +124,7 @@ note: `foo::Bar` defines an item `method2`, perhaps you need to implement it
124124LL | pub trait Bar {
125125 | ^^^^^^^^^^^^^
126126
127- error[E0599]: no method named `method2` found for struct `Rc<_> ` in the current scope
127+ error[E0599]: no method named `method2` found for struct `Rc` in the current scope
128128 --> $DIR/no-method-suggested-traits.rs:47:44
129129 |
130130LL | std::rc::Rc::new(&mut Box::new(&1u64)).method2();
@@ -150,7 +150,7 @@ note: `foo::Bar` defines an item `method2`, perhaps you need to implement it
150150LL | pub trait Bar {
151151 | ^^^^^^^^^^^^^
152152
153- error[E0599]: no method named `method2` found for struct `Rc<_> ` in the current scope
153+ error[E0599]: no method named `method2` found for struct `Rc` in the current scope
154154 --> $DIR/no-method-suggested-traits.rs:52:71
155155 |
156156LL | std::rc::Rc::new(&mut Box::new(&no_method_suggested_traits::Foo)).method2();
@@ -176,7 +176,7 @@ note: `foo::Bar` defines an item `method2`, perhaps you need to implement it
176176LL | pub trait Bar {
177177 | ^^^^^^^^^^^^^
178178
179- error[E0599]: no method named `method2` found for struct `Rc<_> ` in the current scope
179+ error[E0599]: no method named `method2` found for struct `Rc` in the current scope
180180 --> $DIR/no-method-suggested-traits.rs:56:74
181181 |
182182LL | std::rc::Rc::new(&mut Box::new(&no_method_suggested_traits::Bar::X)).method2();
@@ -202,7 +202,7 @@ LL | Foo.method3();
202202 = note: the following trait defines an item `method3`, perhaps you need to implement it:
203203 candidate #1: `PubPub`
204204
205- error[E0599]: no method named `method3` found for struct `Rc<_> ` in the current scope
205+ error[E0599]: no method named `method3` found for struct `Rc` in the current scope
206206 --> $DIR/no-method-suggested-traits.rs:61:43
207207 |
208208LL | std::rc::Rc::new(&mut Box::new(&Foo)).method3();
@@ -225,7 +225,7 @@ LL | Bar::X.method3();
225225 = note: the following trait defines an item `method3`, perhaps you need to implement it:
226226 candidate #1: `PubPub`
227227
228- error[E0599]: no method named `method3` found for struct `Rc<_> ` in the current scope
228+ error[E0599]: no method named `method3` found for struct `Rc` in the current scope
229229 --> $DIR/no-method-suggested-traits.rs:65:46
230230 |
231231LL | std::rc::Rc::new(&mut Box::new(&Bar::X)).method3();
@@ -241,7 +241,7 @@ error[E0599]: no method named `method3` found for type `usize` in the current sc
241241LL | 1_usize.method3();
242242 | ^^^^^^^ method not found in `usize`
243243
244- error[E0599]: no method named `method3` found for struct `Rc<_> ` in the current scope
244+ error[E0599]: no method named `method3` found for struct `Rc` in the current scope
245245 --> $DIR/no-method-suggested-traits.rs:70:47
246246 |
247247LL | std::rc::Rc::new(&mut Box::new(&1_usize)).method3();
@@ -253,7 +253,7 @@ error[E0599]: no method named `method3` found for struct `no_method_suggested_tr
253253LL | no_method_suggested_traits::Foo.method3();
254254 | ^^^^^^^ method not found in `no_method_suggested_traits::Foo`
255255
256- error[E0599]: no method named `method3` found for struct `Rc<_> ` in the current scope
256+ error[E0599]: no method named `method3` found for struct `Rc` in the current scope
257257 --> $DIR/no-method-suggested-traits.rs:72:71
258258 |
259259LL | std::rc::Rc::new(&mut Box::new(&no_method_suggested_traits::Foo)).method3();
@@ -265,7 +265,7 @@ error[E0599]: no method named `method3` found for enum `no_method_suggested_trai
265265LL | no_method_suggested_traits::Bar::X.method3();
266266 | ^^^^^^^ method not found in `no_method_suggested_traits::Bar`
267267
268- error[E0599]: no method named `method3` found for struct `Rc<_> ` in the current scope
268+ error[E0599]: no method named `method3` found for struct `Rc` in the current scope
269269 --> $DIR/no-method-suggested-traits.rs:75:74
270270 |
271271LL | std::rc::Rc::new(&mut Box::new(&no_method_suggested_traits::Bar::X)).method3();
0 commit comments