summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/undeclared-module-alloc.stderr
blob: 39169dfa9f7778c5f7841d8d43d6bddeace83574 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
  --> $DIR/undeclared-module-alloc.rs:3:5
   |
LL | use alloc::rc::Rc;
   |     ^^^^^ use of undeclared crate or module `alloc`
   |
   = help: add `extern crate alloc` to use the `alloc` crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.