diff options
| author | Alexis Bourget <alexis.bourget@gmail.com> | 2020-12-28 23:07:20 +0100 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-05-17 21:31:01 -0400 |
| commit | b574c67b93fbe0fc1194865441a1fa596b8922f1 (patch) | |
| tree | 51b0a7287094c0fe279a339528aa9b514d0962a7 /src/test/ui/function-pointer | |
| parent | 3e99439f4dacc8ba0d2ca48d221694362d587927 (diff) | |
| download | rust-b574c67b93fbe0fc1194865441a1fa596b8922f1.tar.gz rust-b574c67b93fbe0fc1194865441a1fa596b8922f1.zip | |
New rustdoc lint to respect -Dwarnings correctly
This adds a new lint to `rustc` that is used in rustdoc when a code block is empty or cannot be parsed as valid Rust code. Previously this was unconditionally a warning. As such some documentation comments were (unknowingly) abusing this to pass despite the `-Dwarnings` used when compiling `rustc`, this should not be the case anymore.
Diffstat (limited to 'src/test/ui/function-pointer')
0 files changed, 0 insertions, 0 deletions
