diff options
| author | Ralf Jung <post@ralfj.de> | 2018-10-31 21:07:17 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-11-05 09:17:48 +0100 |
| commit | fdc3a3ed0cf7ac9082bed9a70b733751e40c8137 (patch) | |
| tree | 2f7ab55fb70a5f5acbd7542b98743668bc640be1 /src | |
| parent | c8e471fac3f803d7c332ffea677dcd2b585910a3 (diff) | |
| download | rust-fdc3a3ed0cf7ac9082bed9a70b733751e40c8137.tar.gz rust-fdc3a3ed0cf7ac9082bed9a70b733751e40c8137.zip | |
fix for pre-NLL rustc
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/interpret/validity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/validity.rs b/src/librustc_mir/interpret/validity.rs index 7caf81788dd..8919db5a6d3 100644 --- a/src/librustc_mir/interpret/validity.rs +++ b/src/librustc_mir/interpret/validity.rs @@ -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 |
