#![deny(unused)]modfoo{fnf(){}modm1{pub(super)usesuper::f;//~ ERROR unused}modm2{#[allow(unused)]usesuper::m1::*;// (despite this glob import)}modm3{pub(super)usesuper::f;// Check that this is counted as used (cf. issue #36249).}pubmodm4{usesuper::m3::*;pubfng(){f();}}}fnmain(){foo::m4::g();}