diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2022-10-06 18:35:53 +0200 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2023-02-01 21:50:34 +0100 |
| commit | 0757d5f83f4bc4faca896c85932cf1e4a0cd6031 (patch) | |
| tree | a10dccb1ef78f9869c3fdcc87a647023cfa9a787 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | a84adba55239b5bfa702ee4937a7f14b36aab181 (diff) | |
| download | rust-0757d5f83f4bc4faca896c85932cf1e4a0cd6031.tar.gz rust-0757d5f83f4bc4faca896c85932cf1e4a0cd6031.zip | |
Fix condition for "missing `struct`" diagnostic on tuple structs
The check previously matched this, and suggested adding a missing `struct`: pub Foo(...): It was probably intended to match this instead (semicolon instead of colon): pub Foo(...);
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
