diff options
Diffstat (limited to 'src/test/ui/lint/issue-101284.rs')
-rw-r--r-- | src/test/ui/lint/issue-101284.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/lint/issue-101284.rs b/src/test/ui/lint/issue-101284.rs deleted file mode 100644 index 1381d4f17..000000000 --- a/src/test/ui/lint/issue-101284.rs +++ /dev/null @@ -1,15 +0,0 @@ -// check-pass -// edition:2021 -#![deny(rust_2021_compatibility)] - -pub struct Warns { - // `Arc` has significant drop - _significant_drop: std::sync::Arc<()>, - field: String, -} - -pub fn test(w: Warns) { - _ = || drop(w.field); -} - -fn main() {} |