Since last week, the unexpected_cfgs lint reports also cfg attributes generated by external macros (rust-lang/rust#132577). It means that this lint is triggered by some of our macros when used outside of Ruma if the unstable-exhaustive-types feature is not defined on the crate where the macro is used (see matrix-org/matrix-rust-sdk#4336 where the lint was disabled as a result).
These are the relevant macros:
request
response
event_enum
EventContent
Since last week, the
unexpected_cfgslint reports also cfg attributes generated by external macros (rust-lang/rust#132577). It means that this lint is triggered by some of our macros when used outside of Ruma if theunstable-exhaustive-typesfeature is not defined on the crate where the macro is used (see matrix-org/matrix-rust-sdk#4336 where the lint was disabled as a result).These are the relevant macros:
requestresponseevent_enumEventContent