diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-11-07 19:40:27 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-11-17 23:40:00 +0000 |
| commit | f1772d57399272f69fa69ad10ae21d380efc2e7e (patch) | |
| tree | d4e9950bb5def9ea82cb70554af93ba7a739cea1 /compiler/rustc_mir_build/src/errors.rs | |
| parent | f563efec156319d726095a82ea3d0f167c7edac7 (diff) | |
| download | rust-f1772d57399272f69fa69ad10ae21d380efc2e7e.tar.gz rust-f1772d57399272f69fa69ad10ae21d380efc2e7e.zip | |
Make suggestion verbose
Diffstat (limited to 'compiler/rustc_mir_build/src/errors.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/errors.rs b/compiler/rustc_mir_build/src/errors.rs index 04eb7ffe776..4443d9aebc6 100644 --- a/compiler/rustc_mir_build/src/errors.rs +++ b/compiler/rustc_mir_build/src/errors.rs @@ -913,7 +913,8 @@ impl<'tcx> Subdiagnostic for AdtDefinedHere<'tcx> { #[suggestion( mir_build_interpreted_as_const, code = "{variable}_var", - applicability = "maybe-incorrect" + applicability = "maybe-incorrect", + style = "verbose" )] pub(crate) struct InterpretedAsConst { #[primary_span] |
