mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 04:23:37 +00:00
6 lines
115 B
Rust
6 lines
115 B
Rust
pub mod foo {
|
|
pub const BAR: usize = 42;
|
|
}
|
|
|
|
use foo::BAR as main; //~ ERROR `main` function not found in crate
|