This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-01 04:27:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
31ae7c46bd
rust
/
tests
/
ui
/
span
/
non-existing-module-import.rs
4 lines
70 B
Rust
Raw
Normal View
History
Unescape
Escape
Merge cfail and ui tests into ui tests
2017-11-20 12:13:27 +00:00
use
std
::
bar
::
{
foo1
,
foo2
}
;
//~ ERROR unresolved import
Point at path segment on module not found Point at the correct path segment on a import statement where a module doesn't exist. New output: ```rust error[E0432]: unresolved import `std::bar` --> <anon>:1:10 | 1 | use std::bar::{foo1, foo2}; | ^^^ Could not find `bar` in `std` ``` instead of: ```rust error[E0432]: unresolved import `std::bar::foo1` --> <anon>:1:16 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` error[E0432]: unresolved import `std::bar::foo2` --> <anon>:1:22 | 1 | use std::bar::{foo1, foo2}; | ^^^^ Could not find `bar` in `std` ```
2017-07-23 22:15:45 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink