diff options
| author | bors <bors@rust-lang.org> | 2021-02-08 06:02:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-08 06:02:29 +0000 |
| commit | 4bbd7e46ee274d1128d3d3e0f7f681127fcb0e14 (patch) | |
| tree | 17fb5a3cd3ffe879122df72b2b645273e6e72a98 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | de35c297bf7464e891ada4899470b60aa60db87f (diff) | |
| parent | fd35517bd47372a4c9bbd436f3d6885cdc452e7f (diff) | |
| download | rust-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/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
