Commit ce0ffbf
committed
Attributes cleanup in tests
- Remove `allow` attributes for lints covered by the `unused` group in UI tests
- Replace `allow` with `expect` for lints that fire, remove those that don't
- Reorder attribute names inside allow or expect inner attributes1 parent 8a61907 commit ce0ffbf
1,645 files changed
Lines changed: 7578 additions & 9229 deletions
File tree
- tests
- ui-cargo/multiple_inherent_impl
- config_fail/src
- crate_fail
- src
- file_fail
- src
- module_fail
- src
- ui-toml
- arbitrary_source_item_ordering
- array_size_threshold
- dbg_macro
- disallowed_macros
- excessive_nesting
- excessive_precision
- ifs_same_cond
- item_name_repetitions
- allow_exact_repetitions
- allowed_prefixes_extend
- allowed_prefixes
- min_ident_chars
- auxiliary
- min_rust_version
- needless_raw_string_hashes_one_allowed
- private-doc-errors
- pub_underscore_fields
- ref_option
- renamed_function_params
- semicolon_block
- suppress_lint_in_const
- toml_disallowed_methods
- toml_disallow
- toml_inconsistent_struct_constructor
- unwrap_used_allowed
- unwrap_used
- useless_vec
- ui
- author
- auxiliary
- branches_sharing_code
- checked_unwrap
- cmp_owned
- crashes
- dbg_macro
- doc
- empty_line_after
- index_refutable_slice
- items_after_test_module
- manual_memcpy
- missing_const_for_fn
- needless_bool
- non_std_lazy_static
- out_of_bounds_indexing
- pattern_type_mismatch
- rc_clone_in_vec_init
- should_impl_trait
- size_of_in_element_count
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 108 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
1 | 96 | | |
2 | | - | |
| 97 | + | |
3 | 98 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
9 | 104 | | |
10 | 105 | | |
11 | 106 | | |
12 | | - | |
| 107 | + | |
13 | 108 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
17 | 112 | | |
18 | 113 | | |
19 | | - | |
| 114 | + | |
20 | 115 | | |
21 | | - | |
| 116 | + | |
22 | 117 | | |
23 | 118 | | |
24 | 119 | | |
| |||
38 | 133 | | |
39 | 134 | | |
40 | 135 | | |
41 | | - | |
| 136 | + | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments