blob: d5a35b1656a1c53e0815c1a3eedce8bee82a33f5 [file]
#![feature(no_core)]
#![no_core]
pub mod my_module {
pub const MY_CONST: i32 = 42;
pub fn my_func() {}
}
pub mod test_working {
use crate::my_module::{self, MY_CONST};
pub fn check() {
let _ = MY_CONST;
my_module::my_func();
}
}
pub mod test_failing {
use crate::my_module::{self, *};
pub fn check() {
let _ = MY_CONST;
my_func();
my_module::my_func();
}
}