rust/tests/ui/resolve/crate-called-as-function.rs

4 lines
81 B
Rust
Raw Normal View History

2021-01-18 07:01:09 -06:00
fn main() {
::foo() //~ cannot find external crate `foo` in the crate root
}