Broken unstable lint examples in rustc book #135298
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The examples for the following unstable lints are currently broken, leading to the auto-generated outputs only displaying an "unknown lint" warning:
fuzzy_provenance_casts
lossy_provenance_casts
unqualified_local_imports
test_unstable_lint
The examples in the lint doc-comments need to be updated to include enabling the respective feature for each lint. See the
must_not_suspend
lint docs for a correct example.The text was updated successfully, but these errors were encountered: