diff options
Diffstat (limited to 'tests/ui/suggestions/undeclared-module-alloc.rs')
-rw-r--r-- | tests/ui/suggestions/undeclared-module-alloc.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/suggestions/undeclared-module-alloc.rs b/tests/ui/suggestions/undeclared-module-alloc.rs new file mode 100644 index 000000000..1defa1cef --- /dev/null +++ b/tests/ui/suggestions/undeclared-module-alloc.rs @@ -0,0 +1,5 @@ +// edition:2018 + +use alloc::rc::Rc; //~ ERROR failed to resolve: use of undeclared crate or module `alloc` + +fn main() {} |