diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-02-27 13:07:44 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-03-12 13:19:46 +0000 |
| commit | dd7df04e168324fc002ab4985b6c7513f08ccf49 (patch) | |
| tree | d20567e06dfccad24f16dabddb42852a498a8c1a /compiler/rustc_error_codes | |
| parent | 24c0b81c1fd5de8e00276524896d3352ed91a8cb (diff) | |
| download | rust-dd7df04e168324fc002ab4985b6c7513f08ccf49.tar.gz rust-dd7df04e168324fc002ab4985b6c7513f08ccf49.zip | |
Remove uses of `box_syntax` in rustc and tools
Diffstat (limited to 'compiler/rustc_error_codes')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0010.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0010.md b/compiler/rustc_error_codes/src/error_codes/E0010.md index 71c790e102f..f03f8a6605f 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0010.md +++ b/compiler/rustc_error_codes/src/error_codes/E0010.md @@ -5,7 +5,5 @@ the heap at runtime, and therefore cannot be done at compile time. Erroneous code example: ```compile_fail,E0010 -#![feature(box_syntax)] - -const CON : Box<i32> = box 0; +const CON : Vec<i32> = vec![1, 2, 3]; ``` |
