1
Fork 0

Rollup merge of #131550 - compiler-errors:extern-diags, r=spastorino

Make some tweaks to extern block diagnostics

Self-explanatory. See the diagnostic changes; I hope they make them a bit more descriptive.

r? spastorino
This commit is contained in:
Matthias Krüger 2024-10-14 17:06:38 +02:00 committed by GitHub
commit b8cdca8cce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 62 additions and 58 deletions

View file

@ -295,6 +295,7 @@ pub(crate) struct FnQualifierInExtern {
pub span: Span,
#[label]
pub block: Span,
pub kw: &'static str,
}
#[derive(Diagnostic)]