Skip to content

Commit

Permalink
For issue rust-lang#35391. Updated with new error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamsundarb-arch authored Aug 7, 2016
1 parent 42903d9 commit 7a16054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/E0248.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ enum Foo {
}

fn do_something(x: Foo::Bar) { } //~ ERROR E0248

//~| NOTE value used as a type
fn main() {
}

0 comments on commit 7a16054

Please sign in to comment.