about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-18 18:54:33 +0100
committerGitHub <noreply@github.com>2024-02-18 18:54:33 +0100
commit57d9523a95f551b15da10dff024334349dbd730d (patch)
tree28fd7bd41258bf263a388b14e010e0b0f0c38f64 /tests/ui/error-codes
parentc8f2a00aec93e074301ed275ea8827b16a6ab76d (diff)
parent5793f8203046da13726db57a5418c3e49ce66902 (diff)
downloadrust-57d9523a95f551b15da10dff024334349dbd730d.tar.gz
rust-57d9523a95f551b15da10dff024334349dbd730d.zip
Rollup merge of #121247 - scottmcm:intrinsic-reminder, r=petrochenkov
Add help to `hir_analysis_unrecognized_intrinsic_function`

To help remind forgetful people like me what step they forgot.

(If this just ICE'd, https://github.com/rust-lang/compiler-team/issues/620 style, the stack trace would point me here, but since there's a "nice" error that information is lost.)
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0093.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0093.stderr b/tests/ui/error-codes/E0093.stderr
index 387e0c55d4d..51c367b343a 100644
--- a/tests/ui/error-codes/E0093.stderr
+++ b/tests/ui/error-codes/E0093.stderr
@@ -3,6 +3,8 @@ error[E0093]: unrecognized intrinsic function: `foo`
    |
 LL |     fn foo();
    |     ^^^^^^^^^ unrecognized intrinsic
+   |
+   = help: if you're adding an intrinsic, be sure to update `check_intrinsic_type`
 
 error: aborting due to 1 previous error