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
5d4605c8cc
commit
963a1faf69
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