Skip to content

Commit d8dc60a

Browse files
authored
Rollup merge of #102033 - andrewpollack:add-unwind-on-pretty, r=tmandry
Adding needs-unwind to nicer-assert-messages compiler ui tests Tests where unwind is required for asserting on contents of error message cc. ``@djkoloski`` r? ``@tmandry``
2 parents 5542e50 + 74e3d99 commit d8dc60a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/ui/macros/rfc-2011-nicer-assert-messages/all-expr-kinds.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// ignore-tidy-linelength
33
// only-x86_64
44
// run-pass
5+
// needs-unwind Asserting on contents of error message
56

67
#![allow(path_statements, unused_allocation)]
78
#![feature(box_syntax, core_intrinsics, generic_assert, generic_assert_internals)]

src/test/ui/macros/rfc-2011-nicer-assert-messages/all-not-available-cases.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// ignore-tidy-linelength
33
// only-x86_64
44
// run-pass
5+
// needs-unwind Asserting on contents of error message
56

67
#![feature(core_intrinsics, generic_assert, generic_assert_internals)]
78

src/test/ui/macros/rfc-2011-nicer-assert-messages/assert-without-captures-does-not-create-unnecessary-code.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// aux-build:common.rs
22
// only-x86_64
33
// run-pass
4+
// needs-unwind Asserting on contents of error message
45

56
#![feature(core_intrinsics, generic_assert, generic_assert_internals)]
67

0 commit comments

Comments
 (0)