]> git.lizzy.rs Git - rust.git/blob - tests/ui/type/type-check/issue-41314.stderr
Make `output_filenames` a real query
[rust.git] / tests / ui / type / type-check / issue-41314.stderr
1 error[E0769]: tuple variant `X::Y` written as struct variant
2   --> $DIR/issue-41314.rs:7:9
3    |
4 LL |         X::Y { number } => {}
5    |         ^^^^^^^^^^^^^^^
6    |
7 help: use the tuple variant pattern syntax instead
8    |
9 LL |         X::Y(number) => {}
10    |             ~~~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0769`.