better test case

This commit is contained in:
nora 2022-12-20 21:54:46 +01:00
parent 5c1170e92e
commit 0c46f5e2cd
3 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1 @@
pub fn unused() {}

View file

@ -1,7 +1,10 @@
fn unused() {
this_is_required_to_error_haha();
other::unused();
}
fn main() {
loop {}
unused();
}
mod folder;
mod other;

View file

@ -1,3 +1,3 @@
pub(crate) fn unused() {
loop {}
}
pub fn unused() {
crate::folder::unused();
}