Closed
Description
Is there any particular reason why this is private?
Right now, I'm doing
cfg.emit_expression_cfg(r#"{
#[non_exhaustive]
struct Foo;
Foo
}"#, "supports_non_exhaustive");
It would be nice to be able to check if #[non_exhaustive] struct Foo
is supported without having to return a zero-sized type to make an expression.
Metadata
Metadata
Assignees
Labels
No labels