We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
suggestion_short
LintDiagnostic
1 parent 98fb65e commit 52418d6Copy full SHA for 52418d6
compiler/rustc_typeck/src/errors.rs
@@ -337,7 +337,7 @@ pub struct UnusedExternCrate {
337
#[lint(typeck::extern_crate_not_idiomatic)]
338
pub struct ExternCrateNotIdiomatic {
339
#[primary_span]
340
- #[suggestion(applicability = "machine-applicable", code = "{suggestion_code}")]
+ #[suggestion_short(applicability = "machine-applicable", code = "{suggestion_code}")]
341
pub span: Span,
342
pub msg_code: String,
343
pub suggestion_code: String,
0 commit comments