1 2 3 4 5 6 7 8 9
// run-pass // compile-flags:--test #![deny(private_in_public)] #[test] fn foo() {} mod foo {} #[test] fn core() {} extern crate core;