Skip to content

Commit e0df5f8

Browse files
committed
[libc++][NFC] Remove comments incorrectly added in #151935.
1 parent 94a6cd4 commit e0df5f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ void test() {
9595
std::expected<int, CopyConstructibleButNotMoveConstructible> e;
9696
[[maybe_unused]] auto val = std::move(e).value();
9797
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
98-
// The following diagnostic is emmitted in expected.h:
9998
}
10099
}
101100

@@ -119,7 +118,6 @@ void test() {
119118
const std::expected<int, CopyConstructibleButNotMoveConstructible> e;
120119
[[maybe_unused]] auto val = std::move(e).value();
121120
// expected-error-re@*:* {{static assertion failed {{.*}}error_type has to be both copy constructible and constructible from decltype(std::move(error()))}}
122-
// The following diagnostic is emmitted in expected.h:
123121
}
124122
}
125123
// These diagnostics happen when we try to construct bad_expected_access from the non copy-constructible error type.

0 commit comments

Comments
 (0)