Skip to content

Cleanup warnings - #6690

Closed
erickt wants to merge 10 commits into
rust-lang:incomingfrom
erickt:cleanup-warnings
Closed

erickt wants to merge 10 commits into
rust-lang:incomingfrom
erickt:cleanup-warnings

Conversation

@erickt

@erickt erickt commented May 23, 2013

Copy link
Copy Markdown
Contributor

Simple patch series to fix up all the warnings a rustc compile is giving at the moment. It also fixes a NOTE in to_bytes.rs to remove the to_bytes::iter_bytes_<N> functions.

@brson

brson commented May 23, 2013

Copy link
Copy Markdown
Contributor

Thanks for doing cleanup!

bors added a commit that referenced this pull request May 24, 2013
Simple patch series to fix up all the warnings a rustc compile is giving at the moment. It also fixes a NOTE in `to_bytes.rs` to remove the `to_bytes::iter_bytes_<N>` functions.
@bors bors closed this May 24, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 11, 2021
Downgrade trivial_regex to nursery

See rust-lang#6690. I think there is still value in a trivial_regex lint, but only if clippy can tell that the regex is only ever constructed and applied to a single input.

```rust
let regex = Regex::new("trivial_regex")?;
println!("{}", regex.is_match(s));
// `regex` never used again
```

---

changelog: remove `trivial_regex` from default set of enabled lints
rust-bors Bot pushed a commit that referenced this pull request Feb 27, 2026
…h-crate-name-format

Support formatting for `lazy_static::lazy_static!`
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6690: lsp-types 0.85: Fixes OptionalVersionedTextDocumentIdentifier specification r=kjeremy a=kjeremy

Fixes rust-lang#6654

Co-authored-by: kjeremy <[email protected]>
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.

3 participants