diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2025-06-13 09:20:48 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-06-13 09:20:48 +0200 |
| commit | ff5ba7aa74f53b8a9f2cf5024628f959ed1520cb (patch) | |
| tree | d8d3cb57b179f1750bbbc6c9c240ca8b364126ec /tests/ui/static/static-drop-scope.rs | |
| parent | 99929fa9e67fc8dd48db23b64db8ef1ea3391d01 (diff) | |
| download | rust-ff5ba7aa74f53b8a9f2cf5024628f959ed1520cb.tar.gz rust-ff5ba7aa74f53b8a9f2cf5024628f959ed1520cb.zip | |
Update tests.
Diffstat (limited to 'tests/ui/static/static-drop-scope.rs')
| -rw-r--r-- | tests/ui/static/static-drop-scope.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/static/static-drop-scope.rs b/tests/ui/static/static-drop-scope.rs index 74b224c9be0..ddcabeb12cc 100644 --- a/tests/ui/static/static-drop-scope.rs +++ b/tests/ui/static/static-drop-scope.rs @@ -4,12 +4,6 @@ impl Drop for WithDtor { fn drop(&mut self) {} } -static PROMOTION_FAIL_S: Option<&'static WithDtor> = Some(&WithDtor); -//~^ ERROR destructor of - -const PROMOTION_FAIL_C: Option<&'static WithDtor> = Some(&WithDtor); -//~^ ERROR destructor of - static EARLY_DROP_S: i32 = (WithDtor, 0).1; //~^ ERROR destructor of |
