about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.rs
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2024-12-02 18:51:02 +0000
committerGitHub <noreply@github.com>2024-12-02 18:51:02 +0000
commit66b15ad8539873487cb85911ee32482864628a65 (patch)
tree881fe2fa386374510ba239a8b65b240eea65e4a5 /tests/coverage/branch/lazy-boolean.rs
parentdf46e4cf13fa050d27c461888402fbcd3677613d (diff)
parent8dd45f18b3e443749f2e607eb0dfb7edf181a92d (diff)
downloadrust-66b15ad8539873487cb85911ee32482864628a65.tar.gz
rust-66b15ad8539873487cb85911ee32482864628a65.zip
doc_nested_refdefs: new lint for suspicious list syntax (#13707)
https://github.com/rust-lang/rust/issues/133150

This is more likely to be intended as an intra-doc link than it is to be
intended as a refdef. If a refdef is intended, it does not need to be
nested within a list item.

```markdown
- [`LONG_INTRA_DOC_LINK`]: this
  looks like an intra-doc link,
  but is actually a refdef.
  The first line will seem to
  disappear when rendered as HTML.
```

> - [`LONG_INTRA_DOC_LINK`]: this
>   looks like an intra-doc link,
>   but is actually a refdef.
>   The first line will seem to
>   disappear when rendered as HTML.

changelog: [`doc_nested_refdefs`]: add suspicious lint for link def at
start of list items and block quotes
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions