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:
@@ -229,7 +229,7 @@ pub fn deprecation_message_and_lint(
|
||||
)
|
||||
}
|
||||
|
||||
pub fn early_report_deprecation(
|
||||
pub fn early_report_deprecation<'a>(
|
||||
lint_buffer: &'a mut LintBuffer,
|
||||
message: &str,
|
||||
suggestion: Option<Symbol>,
|
||||
|
||||
Reference in New Issue
Block a user