We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2d0f14 commit 1d84947Copy full SHA for 1d84947
compiler/rustc_error_codes/src/error_codes/E0782.md
@@ -6,7 +6,7 @@ runtime but conform to some trait.
6
In the following code the trait object should be formed with
7
`Box<dyn Foo>`, but `dyn` is left off.
8
9
-```compile_fail,E0782
+```no_run
10
trait Foo {}
11
fn test(arg: Box<Foo>) {}
12
```
compiler/rustc_error_codes/src/error_codes/E0783.md
@@ -5,11 +5,11 @@ ranges which are now signified using `..=`.
5
The following code use to compile, but now it now longer does.
-```compile_fail,E0783
fn main() {
let n = 2u8;
match n {
- ...9 => println!("Got a number less than 10),
+ ...9 => println!("Got a number less than 10"),
13
_ => println!("Got a number 10 or more")
14
}
15
0 commit comments