mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 12:47:29 +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>