Add tests for #2594

This commit is contained in:
topecongiro 2018-04-28 13:23:50 +09:00
parent ac8ae00625
commit 89d8eabba5
2 changed files with 8 additions and 0 deletions

View File

@ -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 { }

View File

@ -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 {}