fix message

This commit is contained in:
Takayuki Maeda 2021-11-03 13:53:57 +09:00
parent acb9f9ba38
commit 6c1e194534
2 changed files with 2 additions and 2 deletions

View File

@ -2527,7 +2527,7 @@ impl<'a> Resolver<'a> {
Some((
vec![],
String::from(
"add `extern crate alloc` to use the builtin `alloc` module",
"add `extern crate alloc` to use the `alloc` crate",
),
Applicability::MaybeIncorrect,
))

View File

@ -4,7 +4,7 @@ error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
LL | use alloc::rc::Rc;
| ^^^^^ use of undeclared crate or module `alloc`
|
= help: add `extern crate alloc` to use the builtin `alloc` module
= help: add `extern crate alloc` to use the `alloc` crate
error: aborting due to previous error