1 2 3 4 5 6 7 8 9 10 11
// check-pass #![feature(rustc_attrs)] #[rustc_main] fn actual_main() {} mod foo { pub(crate) fn something() {} } use foo::something as main;