File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_resolve/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2527,7 +2527,7 @@ impl<'a> Resolver<'a> {
25272527 Some ( (
25282528 vec ! [ ] ,
25292529 String :: from (
2530- "add `extern crate alloc` to use the builtin `alloc` module " ,
2530+ "add `extern crate alloc` to use the `alloc` crate " ,
25312531 ) ,
25322532 Applicability :: MaybeIncorrect ,
25332533 ) )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
44LL | use alloc::rc::Rc;
55 | ^^^^^ use of undeclared crate or module `alloc`
66 |
7- = help: add `extern crate alloc` to use the builtin `alloc` module
7+ = help: add `extern crate alloc` to use the `alloc` crate
88
99error: aborting due to previous error
1010
You can’t perform that action at this time.
0 commit comments