Skip to content

Commit 101e1f6

Browse files
committed
Correctly note code as Ok not error for E0573
1 parent e66a628 commit 101e1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/error_codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ enum Wizard {
16821682
}
16831683
16841684
trait Isengard {
1685-
fn wizard(w: Wizard) { // error!
1685+
fn wizard(w: Wizard) { // ok!
16861686
match w {
16871687
Wizard::Saruman => {
16881688
// do something

0 commit comments

Comments
 (0)