Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 656ab76

Browse files
committed
Add FIXME about replacing all usages of try_validation.
1 parent 894a83d commit 656ab76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/interpret/validity.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ macro_rules! throw_validation_failure {
3838
}
3939

4040
/// Returns a validation failure for any Err value of $e.
41+
// FIXME: Replace all usages of try_validation! with try_validation_pat!.
4142
macro_rules! try_validation {
4243
($e:expr, $what:expr, $where:expr $(, $details:expr )?) => {{
4344
try_validation_pat!($e, _, $what, $where $(, $details )?)

0 commit comments

Comments
 (0)