]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-imported_main.rs
Rollup merge of #106591 - Ezrashaw:attempted-integer-identifer, r=Estebank
[rust.git] / tests / ui / feature-gates / feature-gate-imported_main.rs
1 pub mod foo {
2     pub fn bar() {
3         println!("Hello world!");
4     }
5 }
6 use foo::bar as main; //~ ERROR using an imported function as entry point