diff options
| author | xFrednet <xFrednet@gmail.com> | 2021-08-31 19:17:24 +0200 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2021-11-11 17:34:02 +0100 |
| commit | e444cbe5d67b92e1c0989ec4d36758c2b036014b (patch) | |
| tree | 23b92a942c84d302c5006f3500e22a10fe0d96f1 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff | |
| parent | 3bfe98d372fc4dacd12a7f0c06d44d72e2e96cd2 (diff) | |
| download | rust-e444cbe5d67b92e1c0989ec4d36758c2b036014b.tar.gz rust-e444cbe5d67b92e1c0989ec4d36758c2b036014b.zip | |
New `index_refutable_slice` lint
* Finding pattern slices for `avoidable_slice_indexing` * `avoidable_slice_indexing` analysing slice usage * Add configuration to `avoidable_slice_indexing` * Emitting `avoidable_slice_indexing` with suggestions * Dogfooding and fixing bugs * Add ui-toml test for `avoidable_slice_indexing` * Correctly suggest `ref` keywords for `avoidable_slice_indexing` * Test and document `mut` for `avoid_slice_indexing` * Handle macros with `avoidable_slice_indexing` lint * Ignore slices with sub patterns in `avoidable_slice_indexing` * Update lint description for `avoidable_slice_indexing` * Move `avoidable_slice_indexing` to nursery * Added more tests for `avoidable_slice_indexing` * Update documentation and message for `avoidable_slice_indexing` * Teach `avoidable_slice_indexing` about `HirId`s and `Visitors` * Rename lint to `index_refutable_slice` and connected config
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
