Improve dead code analysis
This commit is contained in:
parent
bae813a265
commit
0adb82528f
21 changed files with 173 additions and 69 deletions
|
@ -1,6 +1,8 @@
|
|||
//@ run-rustfix
|
||||
|
||||
#[allow(dead_code)]
|
||||
struct S<T>(T);
|
||||
#[allow(dead_code)]
|
||||
struct S2;
|
||||
|
||||
impl<T: Default> impl Default for S<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue