-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new to_iter lint, still WIP but should supercede the previous for_eac…
…h lint
- Loading branch information
1 parent
a1a586d
commit 4f0f5a1
Showing
14 changed files
with
920 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[package] | ||
name = "to_iter" | ||
version = "0.1.0" | ||
authors = ["authors go here"] | ||
description = "description goes here" | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[dependencies] | ||
dylint_linting = "3.0.0" | ||
|
||
clippy_utils = { workspace = true } | ||
utils = { workspace = true } | ||
[dev-dependencies] | ||
dylint_testing = "3.0.0" | ||
|
||
[package.metadata.rust-analyzer] | ||
rustc_private = true | ||
|
||
[features] | ||
rlib = ["dylint_linting/constituent"] | ||
|
||
[[example]] | ||
name = "to_iter_main" | ||
path = "ui/main.rs" | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# template | ||
|
||
### What it does | ||
|
||
### Why is this bad? | ||
|
||
### Known problems | ||
Remove if none. | ||
|
||
### Example | ||
```rust | ||
// example code where a warning is issued | ||
``` | ||
Use instead: | ||
```rust | ||
// example code that does not raise a warning | ||
``` |
Oops, something went wrong.