From 8b35be741fd1e46f81a3614478279d718701783e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 17 Apr 2024 12:30:45 +0200 Subject: consistency rename: language item -> lang item --- compiler/rustc_error_codes/src/error_codes/E0522.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_error_codes/src') diff --git a/compiler/rustc_error_codes/src/error_codes/E0522.md b/compiler/rustc_error_codes/src/error_codes/E0522.md index 83272314a87..b0dd5a775ac 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0522.md +++ b/compiler/rustc_error_codes/src/error_codes/E0522.md @@ -6,7 +6,7 @@ Erroneous code example: #![feature(lang_items)] #[lang = "cookie"] -fn cookie() -> ! { // error: definition of an unknown language item: `cookie` +fn cookie() -> ! { // error: definition of an unknown lang item: `cookie` loop {} } ``` -- cgit 1.4.1-3-g733a5