Skip to content

Commit fdc3a3e

Browse files
committed
fix for pre-NLL rustc
1 parent c8e471f commit fdc3a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/validity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn scalar_format<Tag>(value: ScalarMaybeUndef<Tag>) -> String {
133133
}
134134
}
135135

136-
struct ValidityVisitor<'rt, 'a, 'tcx, Tag> {
136+
struct ValidityVisitor<'rt, 'a, 'tcx: 'a+'rt, Tag: 'static> {
137137
op: OpTy<'tcx, Tag>,
138138
/// The `path` may be pushed to, but the part that is present when a function
139139
/// starts must not be changed! `visit_fields` and `visit_array` rely on

0 commit comments

Comments
 (0)