mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
Add a test for nested items removal (currently failing)
This commit is contained in:
parent
7e3dc837a4
commit
fdfa1bed09
1 changed files with 8 additions and 0 deletions
8
full-tests/nested-items.rs
Normal file
8
full-tests/nested-items.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
pub mod foo {
|
||||
/// ~MINIMIZE-ROOT good
|
||||
pub fn good(){}
|
||||
/// ~REQUIRE-DELETED bad
|
||||
pub fn bad(){}
|
||||
}
|
||||
/// ~MINIMIZE-ROOT main
|
||||
fn main(){}
|
||||
Loading…
Add table
Add a link
Reference in a new issue