New lint: trait becomes unsafe
#231
Labels
A-lint
Area: new or existing lint
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: Mentorship is available for this issue.
Implementing an
unsafe trait
requires anunsafe impl
block, which is a breaking change: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#implementing-an-unsafe-traitNeeds schema additions to expose whether the trait is
unsafe
:https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types/struct.Trait.html
https://github.com/obi1kenobi/trustfall-rustdoc-adapter/blob/0b1f021c22aab6e48f38156e52c7b8331447149a/src/rustdoc_schema.graphql#L382
The text was updated successfully, but these errors were encountered: