about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-08 06:02:29 +0000
committerbors <bors@rust-lang.org>2021-02-08 06:02:29 +0000
commit4bbd7e46ee274d1128d3d3e0f7f681127fcb0e14 (patch)
tree17fb5a3cd3ffe879122df72b2b645273e6e72a98 /src/test/codegen/src-hash-algorithm
parentde35c297bf7464e891ada4899470b60aa60db87f (diff)
parentfd35517bd47372a4c9bbd436f3d6885cdc452e7f (diff)
downloadrust-4bbd7e46ee274d1128d3d3e0f7f681127fcb0e14.tar.gz
rust-4bbd7e46ee274d1128d3d3e0f7f681127fcb0e14.zip
Auto merge of #6696 - dtolnay-contrib:regex, r=Manishearth
Downgrade trivial_regex to nursery

See #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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions