fix for pre-NLL rustc

This commit is contained in:
Ralf Jung 2018-10-31 21:07:17 +01:00
parent c8e471fac3
commit fdc3a3ed0c

View file

@ -133,7 +133,7 @@ fn scalar_format<Tag>(value: ScalarMaybeUndef<Tag>) -> String {
}
}
struct ValidityVisitor<'rt, 'a, 'tcx, Tag> {
struct ValidityVisitor<'rt, 'a, 'tcx: 'a+'rt, Tag: 'static> {
op: OpTy<'tcx, Tag>,
/// The `path` may be pushed to, but the part that is present when a function
/// starts must not be changed! `visit_fields` and `visit_array` rely on