We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b2263 commit cebc520Copy full SHA for cebc520
compiler/rustc_error_codes/src/error_codes/E0782.md
@@ -2,7 +2,7 @@ Trait objects must include the `dyn` keyword.
2
3
Erroneous code example:
4
5
-```edition2021,compile_fail,E782
+```edition2021,compile_fail,E0782
6
trait Foo {}
7
fn test(arg: Box<Foo>) {} // error!
8
```
compiler/rustc_error_codes/src/error_codes/E0783.md
@@ -2,7 +2,7 @@ The range pattern `...` is no longer allowed.
-```edition2021,compile_fail,E783
+```edition2021,compile_fail,E0783
match 2u8 {
0...9 => println!("Got a number less than 10"), // error!
_ => println!("Got a number 10 or more"),
0 commit comments