mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
Add a test for grouped reexports (failing)
This commit is contained in:
parent
33c32bc0e7
commit
fdf0066e58
1 changed files with 12 additions and 0 deletions
12
full-tests/reexports.rs
Normal file
12
full-tests/reexports.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
use hello::{thingy, whatever};
|
||||||
|
mod hello{
|
||||||
|
pub fn thingy(){}
|
||||||
|
/// ~REQUIRE-DELETED whatever
|
||||||
|
pub fn whatever(){}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main(){
|
||||||
|
"~MINIMIZE-ROOT let x = thingy";
|
||||||
|
let x = thingy();
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue