81cf2294b4
Both diagnostic and subdiagnostic derives were missing the ability to add warnings to diagnostics - this is made more difficult by the `warn` attribute already existing, so this name being unavailable for the derives to use. `#[warn_]` is used instead, which requires special-casing so that `{span_,}warn` is called instead of `{span_,}warn_`. Signed-off-by: David Wood <david.wood@huawei.com> |
||
---|---|---|
.. | ||
diagnostics | ||
symbols | ||
hash_stable.rs | ||
lib.rs | ||
lift.rs | ||
newtype.rs | ||
query.rs | ||
serialize.rs | ||
symbols.rs | ||
type_foldable.rs | ||
type_visitable.rs |