Skip to content

Conversation

@alexcrichton
Copy link
Member

These are the first successful snapshots after the LLVM upgrade, built with LLVM
that requires C++11

These are the first successful snapshots after the LLVM upgrade, built with LLVM
that requires C++11
bors added a commit that referenced this pull request Apr 25, 2014
These are the first successful snapshots after the LLVM upgrade, built with LLVM
that requires C++11
@bors bors closed this Apr 25, 2014
@bors bors merged commit 5687361 into rust-lang:master Apr 25, 2014
@alexcrichton alexcrichton deleted the snapshots branch April 25, 2014 08:32
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 28, 2025
Add a new lint `doc_overindented_list_items` to detect and fix list
items
in docs that are overindented.

For example,

```rs
/// - first line
///      second line
fn foo() {}
```

this would be fixed to:

```rs
/// - first line
///   second line
fn foo() {}
```

This lint improves readabiliy and consistency in doc.

---

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

[lint_naming]:
https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints

changelog: [`doc_overindented_list_items`]: Added a new lint that
detects overindented list items in docs
fixes: rust-lang#13601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants