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> {
2527
2527
Some ( (
2528
2528
vec ! [ ] ,
2529
2529
String :: from (
2530
- "add `extern crate alloc` to use the builtin `alloc` module " ,
2530
+ "add `extern crate alloc` to use the `alloc` crate " ,
2531
2531
) ,
2532
2532
Applicability :: MaybeIncorrect ,
2533
2533
) )
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`
4
4
LL | use alloc::rc::Rc;
5
5
| ^^^^^ use of undeclared crate or module `alloc`
6
6
|
7
- = help: add `extern crate alloc` to use the builtin `alloc` module
7
+ = help: add `extern crate alloc` to use the `alloc` crate
8
8
9
9
error: aborting due to previous error
10
10
You can’t perform that action at this time.
0 commit comments