reference icon indicating copy to clipboard operation
reference copied to clipboard

Document new `#[expect]` attribute and `reasons` parameter (RFC 2383)

Open xFrednet opened this issue 3 years ago • 2 comments

This PR is created in preparation to stabilize the lint_reasons feature. I hope this covers everything :upside_down_face:

Tracking issue: https://github.com/rust-lang/rust/issues/54503

xFrednet avatar Jul 09 '22 15:07 xFrednet

The CI will fail, until the #[feature(lint_reasons)] has been stabilized in rustc. Everything else should be ready :upside_down_face:

xFrednet avatar Jul 09 '22 15:07 xFrednet

With https://github.com/rust-lang/rust/issues/115980#issuecomment-1926001471 the semantics of the #[expect] attribute have been decided. I've reworked some parts of the documentation, to make the semantics clearer according to the decision.

The CI is currently failing, since the feature is not yet stabilized in rustc. I'll work on that part next.

xFrednet avatar Feb 10 '24 16:02 xFrednet