@@ -5,7 +5,7 @@ LL | 1u32.method();
5
5
| ^^^^^^ method not found in `u32`
6
6
|
7
7
= help: items from traits can only be used if the trait is in scope
8
- help: the following traits are implemented but not in scope, perhaps add a `use` for one of them:
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
11
|
@@ -23,7 +23,7 @@ LL | std::rc::Rc::new(&mut Box::new(&1u32)).method();
23
23
| ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&u32>>`
24
24
|
25
25
= help: items from traits can only be used if the trait is in scope
26
- help: the following traits are implemented but not in scope, perhaps add a `use` for one of them:
26
+ help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
27
27
|
28
28
LL | use foo::Bar;
29
29
|
@@ -41,7 +41,7 @@ LL | 'a'.method();
41
41
| ^^^^^^ method not found in `char`
42
42
|
43
43
= help: items from traits can only be used if the trait is in scope
44
- help: the following trait is implemented but not in scope, perhaps add a `use` for it:
44
+ help: the following trait is implemented but not in scope; perhaps add a `use` for it:
45
45
|
46
46
LL | use foo::Bar;
47
47
|
@@ -61,7 +61,7 @@ LL | std::rc::Rc::new(&mut Box::new(&'a')).method();
61
61
| ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&char>>`
62
62
|
63
63
= help: items from traits can only be used if the trait is in scope
64
- help: the following trait is implemented but not in scope, perhaps add a `use` for it:
64
+ help: the following trait is implemented but not in scope; perhaps add a `use` for it:
65
65
|
66
66
LL | use foo::Bar;
67
67
|
@@ -73,7 +73,7 @@ LL | 1i32.method();
73
73
| ^^^^^^ method not found in `i32`
74
74
|
75
75
= help: items from traits can only be used if the trait is in scope
76
- help: the following trait is implemented but not in scope, perhaps add a `use` for it:
76
+ help: the following trait is implemented but not in scope; perhaps add a `use` for it:
77
77
|
78
78
LL | use no_method_suggested_traits::foo::PubPub;
79
79
|
@@ -85,7 +85,7 @@ LL | std::rc::Rc::new(&mut Box::new(&1i32)).method();
85
85
| ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&i32>>`
86
86
|
87
87
= help: items from traits can only be used if the trait is in scope
88
- help: the following trait is implemented but not in scope, perhaps add a `use` for it:
88
+ help: the following trait is implemented but not in scope; perhaps add a `use` for it:
89
89
|
90
90
LL | use no_method_suggested_traits::foo::PubPub;
91
91
|
0 commit comments