Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/librustc_resolve/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ enum Wizard {
}

trait Isengard {
fn wizard(w: Wizard) { // error!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace "// error!" with "// ok!"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done! c1422e68eaea6ec9e20da9ca2c6aae1febd002a8

fn wizard(w: Wizard) { // ok!
match w {
Wizard::Saruman => {
// do something
Expand Down