about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2023-01-02 03:52:29 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2023-01-02 03:52:29 +0000
commitcafdd2f7bb1be0fa888e0aecafa3adde1a4b5476 (patch)
treea54fb8fc1874c5fdf82bcdf059c4a88e2aa3ea07 /compiler/rustc_session/src/errors.rs
parente11cb36c751550cf197e23440d53f04156c3a2a3 (diff)
downloadrust-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.rs1
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,