diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-11-07 16:13:35 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-11-13 10:44:14 -0800 |
| commit | 0123cbdc31a994033cffd505a758beba20709de0 (patch) | |
| tree | 3ddc050af46029b3231eca72832c5c8ada33dabf | |
| parent | eff83e5f49f42e174424da2dd517c1bc5821aa13 (diff) | |
| download | rust-0123cbdc31a994033cffd505a758beba20709de0.tar.gz rust-0123cbdc31a994033cffd505a758beba20709de0.zip | |
Fix broken doc-test
| -rw-r--r-- | src/librustc_passes/error_codes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_passes/error_codes.rs b/src/librustc_passes/error_codes.rs index 3f5b0dcab74..72cf0c7ed77 100644 --- a/src/librustc_passes/error_codes.rs +++ b/src/librustc_passes/error_codes.rs @@ -633,7 +633,7 @@ At the moment, `if` and `match`, as well as the looping constructs `for`, `while`, and `loop`, are forbidden inside a `const`, `static`, or `const fn`. ```compile_fail,E0744 -const _: { +const _: i32 = { let mut x = 0; loop { x += 1; |
