@@ -5,7 +5,7 @@ LL | 1u32.method();
55 | ^^^^^^ method not found in `u32`
66 |
77 = 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:
99 |
1010LL | use foo::Bar;
1111 |
@@ -23,7 +23,7 @@ LL | std::rc::Rc::new(&mut Box::new(&1u32)).method();
2323 | ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&u32>>`
2424 |
2525 = 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:
2727 |
2828LL | use foo::Bar;
2929 |
@@ -41,7 +41,7 @@ LL | 'a'.method();
4141 | ^^^^^^ method not found in `char`
4242 |
4343 = 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:
4545 |
4646LL | use foo::Bar;
4747 |
@@ -61,7 +61,7 @@ LL | std::rc::Rc::new(&mut Box::new(&'a')).method();
6161 | ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&char>>`
6262 |
6363 = 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:
6565 |
6666LL | use foo::Bar;
6767 |
@@ -73,7 +73,7 @@ LL | 1i32.method();
7373 | ^^^^^^ method not found in `i32`
7474 |
7575 = 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:
7777 |
7878LL | use no_method_suggested_traits::foo::PubPub;
7979 |
@@ -85,7 +85,7 @@ LL | std::rc::Rc::new(&mut Box::new(&1i32)).method();
8585 | ^^^^^^ method not found in `std::rc::Rc<&mut std::boxed::Box<&i32>>`
8686 |
8787 = 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:
8989 |
9090LL | use no_method_suggested_traits::foo::PubPub;
9191 |
0 commit comments