1
Fork 0

Rollup merge of #89090 - cjgillot:bare-dyn, r=jackh726

Lint bare traits in AstConv.

Removing the lint from lowering allows to:
- make lowering querification easier;
- have the lint implementation in only one place.

r? `@estebank`
This commit is contained in:
Matthias Krüger 2021-12-18 08:16:26 +01:00 committed by GitHub
commit 7a626cf7ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 731 additions and 320 deletions

View file

@ -285,7 +285,6 @@ pub enum ExternDepSpec {
#[derive(PartialEq, Debug)]
pub enum BuiltinLintDiagnostics {
Normal,
BareTraitObject(Span, /* is_global */ bool),
AbsPathWithModule(Span),
ProcMacroDeriveResolutionFallback(Span),
MacroExpandedMacroExportsAccessedByAbsolutePaths(Span),