about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/unused-struct-derive-default.rs
AgeCommit message (Collapse)AuthorLines
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-2/+2
Full list of `impl const Default` types: - () - bool - char - Cell - std::ascii::Char - usize - u8 - u16 - u32 - u64 - u128 - i8 - i16 - i32 - i64 - i128 - f16 - f32 - f64 - f128 - std::marker::PhantomData<T> - Option<T> - std::iter::Empty<T> - std::ptr::Alignment - &[T] - &mut [T] - &str - &mut str - String - Vec<T>
2025-06-14Marks ADT live if it appears in patternMu001999-0/+1
2024-08-03Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix"Michael Goulet-1/+0
This reverts commit 31fe9628cf830a08e7194a446f66c668aaea86e9, reversing changes made to f20307851ead9fbbb9fa88bbffb3258a069230a6.
2024-07-04Improve dead code analysismu001999-0/+1
2024-06-25Detect unused structs which derived Defaultmu001999-0/+25