Skip to content

Commit

Permalink
Add tests for rust-lang#2594
Browse files Browse the repository at this point in the history
  • Loading branch information
topecongiro committed Apr 28, 2018
1 parent ac8ae00 commit 89d8eab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/source/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,7 @@ pub enum QlError {
// (kind, input, expected)
#[fail(display = "Could not find {}: Found: {}, expected: {:?}", 0, 1, 2)] ResolveError(&'static str, String, Option<String>),
}

// #2594
enum Foo {}
enum Bar { }
4 changes: 4 additions & 0 deletions tests/target/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,7 @@ pub enum QlError {
#[fail(display = "Could not find {}: Found: {}, expected: {:?}", 0, 1, 2)]
ResolveError(&'static str, String, Option<String>),
}

// #2594
enum Foo {}
enum Bar {}

0 comments on commit 89d8eab

Please sign in to comment.