mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 22:37:08 +00:00
A call to `set_arg` is generated for every field of a `SessionDiagnostic` struct without attributes, but not all types support being an argument, so `#[no_arg]` is introduced to skip these fields. Signed-off-by: David Wood <david.wood@huawei.com>