mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
fix message
This commit is contained in:
parent
acb9f9ba38
commit
6c1e194534
@ -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,
|
||||
))
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user