diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-02 03:52:29 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-01-02 03:52:29 +0000 |
| commit | cafdd2f7bb1be0fa888e0aecafa3adde1a4b5476 (patch) | |
| tree | a54fb8fc1874c5fdf82bcdf059c4a88e2aa3ea07 /compiler/rustc_session/src/errors.rs | |
| parent | e11cb36c751550cf197e23440d53f04156c3a2a3 (diff) | |
| download | rust-cafdd2f7bb1be0fa888e0aecafa3adde1a4b5476.tar.gz rust-cafdd2f7bb1be0fa888e0aecafa3adde1a4b5476.zip | |
Note maximum integer literal for `IntLiteralTooLarge`
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
| -rw-r--r-- | compiler/rustc_session/src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/errors.rs b/compiler/rustc_session/src/errors.rs index e72b76cfee9..effb561688c 100644 --- a/compiler/rustc_session/src/errors.rs +++ b/compiler/rustc_session/src/errors.rs @@ -260,6 +260,7 @@ pub(crate) struct InvalidFloatLiteralSuffix { #[derive(Diagnostic)] #[diag(session_int_literal_too_large)] +#[note] pub(crate) struct IntLiteralTooLarge { #[primary_span] pub span: Span, |
