diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-06-14 19:39:39 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-06-18 18:10:21 +0300 |
| commit | b25b466a887d8ceaef533e542431fdec7e70f10f (patch) | |
| tree | 4f06853796a7961c3a29406d235495acff5973a8 /src/librustc/lint | |
| parent | 44fb88d25282d9362774536965f2455f677734f3 (diff) | |
| download | rust-b25b466a887d8ceaef533e542431fdec7e70f10f.tar.gz rust-b25b466a887d8ceaef533e542431fdec7e70f10f.zip | |
rustc: remove 'x: 'y bounds (except from comments/strings).
Diffstat (limited to 'src/librustc/lint')
| -rw-r--r-- | src/librustc/lint/context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index e90f4ca94c6..7f09120bbdd 100644 --- a/src/librustc/lint/context.rs +++ b/src/librustc/lint/context.rs @@ -507,7 +507,7 @@ impl LintStore { } /// Context for lint checking after type checking. -pub struct LateContext<'a, 'tcx: 'a> { +pub struct LateContext<'a, 'tcx> { /// Type context we're checking in. pub tcx: TyCtxt<'tcx>, @@ -533,7 +533,7 @@ pub struct LateContext<'a, 'tcx: 'a> { only_module: bool, } -pub struct LateContextAndPass<'a, 'tcx: 'a, T: LateLintPass<'a, 'tcx>> { +pub struct LateContextAndPass<'a, 'tcx, T: LateLintPass<'a, 'tcx>> { context: LateContext<'a, 'tcx>, pass: T, } |
