diff options
| author | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-08-30 04:48:05 +0800 |
|---|---|---|
| committer | Xiang Fei Ding <dingxiangfei2009@protonmail.ch> | 2024-09-26 13:21:15 +0200 |
| commit | 1576a6d618a7584659be5d4d770324d5537c0d26 (patch) | |
| tree | a60333b8dfec80ce20d313df1a4207c832cf9a44 /compiler/rustc_error_codes/src | |
| parent | 76ed7a1fa40c3f54d3fd3f834e12bf9c932d0146 (diff) | |
| download | rust-1576a6d618a7584659be5d4d770324d5537c0d26.tar.gz rust-1576a6d618a7584659be5d4d770324d5537c0d26.zip | |
Stabilize `const_refs_to_static`
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0013.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0013.md b/compiler/rustc_error_codes/src/error_codes/E0013.md index 9f4848343ff..c4d65225ece 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0013.md +++ b/compiler/rustc_error_codes/src/error_codes/E0013.md @@ -5,7 +5,7 @@ variable cannot refer to a static variable. Erroneous code example: -```compile_fail,E0658 +``` static X: i32 = 42; const Y: i32 = X; ``` |
