Auto merge of #41433 - estebank:constructor, r=michaelwoerister

Do not show `::{{constructor}}` on tuple struct diagnostics

Fix #41313.
This commit is contained in:
bors 2017-04-27 10:47:56 +00:00
commit 79b05fee0f
2 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,6 @@ fn main() {
match s {
S{0: a, 0x1: b, ..} => {}
//~^ ERROR does not have a field named `0x1`
//~| NOTE struct `S::{{constructor}}` does not have field `0x1`
//~| NOTE struct `S` does not have field `0x1`
}
}