We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb9f9b commit 6c1e194Copy full SHA for 6c1e194
compiler/rustc_resolve/src/lib.rs
@@ -2527,7 +2527,7 @@ impl<'a> Resolver<'a> {
2527
Some((
2528
vec![],
2529
String::from(
2530
- "add `extern crate alloc` to use the builtin `alloc` module",
+ "add `extern crate alloc` to use the `alloc` crate",
2531
),
2532
Applicability::MaybeIncorrect,
2533
))
src/test/ui/suggestions/undeclared-module-alloc.stderr
@@ -4,7 +4,7 @@ error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
4
LL | use alloc::rc::Rc;
5
| ^^^^^ use of undeclared crate or module `alloc`
6
|
7
- = help: add `extern crate alloc` to use the builtin `alloc` module
+ = help: add `extern crate alloc` to use the `alloc` crate
8
9
error: aborting due to previous error
10
0 commit comments