Remove in_band_lifetimes from rustc_middle
See #91867 This was mostly straightforward. In several places, I take advantage of the fact that lifetimes are non-hygenic: a macro declares the 'tcx' lifetime, which is then used in types passed in as macro arguments.
This commit is contained in:
@@ -212,7 +212,7 @@ pub fn struct_lint_level<'s, 'd>(
|
||||
) {
|
||||
// Avoid codegen bloat from monomorphization by immediately doing dyn dispatch of `decorate` to
|
||||
// the "real" work.
|
||||
fn struct_lint_level_impl(
|
||||
fn struct_lint_level_impl<'s, 'd>(
|
||||
sess: &'s Session,
|
||||
lint: &'static Lint,
|
||||
level: Level,
|
||||
|
||||
Reference in New Issue
Block a user