diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-06 22:01:21 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-12-07 16:28:33 +0000 |
| commit | efe8ae730f4030e544ac733bc20c0825c713e7d9 (patch) | |
| tree | 7486e7b6c63a8dcb55bf6033887bb2f2b2f3c9cd /tests/ui/consts/precise-drop-with-promoted.rs | |
| parent | 57fec79bec4f40ede6dd56dc854c6a136d3a12d4 (diff) | |
| download | rust-efe8ae730f4030e544ac733bc20c0825c713e7d9.tar.gz rust-efe8ae730f4030e544ac733bc20c0825c713e7d9.zip | |
Fix const drop checking
Diffstat (limited to 'tests/ui/consts/precise-drop-with-promoted.rs')
| -rw-r--r-- | tests/ui/consts/precise-drop-with-promoted.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/ui/consts/precise-drop-with-promoted.rs b/tests/ui/consts/precise-drop-with-promoted.rs index 0c0514dd9d5..7cbe3c4e415 100644 --- a/tests/ui/consts/precise-drop-with-promoted.rs +++ b/tests/ui/consts/precise-drop-with-promoted.rs @@ -1,11 +1,6 @@ // Regression test for issue #89938. +// check-pass // compile-flags: --crate-type=lib -// known-bug: #103507 -// failure-status: 101 -// normalize-stderr-test "note: .*\n\n" -> "" -// normalize-stderr-test "thread 'rustc' panicked.*\n.*\n" -> "" -// normalize-stderr-test "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: " -// rustc-env:RUST_BACKTRACE=0 #![feature(const_precise_live_drops)] |
