diff options
| author | Christian Duerr <contact@christianduerr.com> | 2023-06-17 22:41:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-17 20:41:28 +0000 |
| commit | cb48ac92071c43a9163329b66b5f74a7fb3dca69 (patch) | |
| tree | 8f0a497b3588bbcc959d99a4178cb11266a9bfc3 /src/git: | |
| parent | 474ee4bb75d06e9dfcf4a050fb738b45f8dd9135 (diff) | |
| download | r-alacritty-cb48ac92071c43a9163329b66b5f74a7fb3dca69.tar.gz r-alacritty-cb48ac92071c43a9163329b66b5f74a7fb3dca69.tar.bz2 r-alacritty-cb48ac92071c43a9163329b66b5f74a7fb3dca69.zip | |
Add errors for deserializing with unknown fields
Currently there are still some places where `Deserialize` is used rather
than `ConfigDeserialize`, which means that the built-in warning for
unused fields is not emitted automatically.
To ensure users don't have invalid configurations, the
`#[serde(deny_unknown_fields)]` annotation has been added to these
structs, making it a hard error when an unknown field is present.
Diffstat (limited to 'src/git:')
0 files changed, 0 insertions, 0 deletions