Commit f6d37a2
authored
Rollup merge of #134006 - klensy:typos, r=nnethercote
setup typos check in CI
This allows to check typos in CI, currently for compiler only (to reduce commit size with fixes). With current setup, exclude list is quite short, so it worth trying?
Also includes commits with actual typo fixes.
MCP: rust-lang/compiler-team#817
typos check currently turned for:
* ./compiler
* ./library
* ./src/bootstrap
* ./src/librustdoc
After merging, PRs which enables checks for other crates (tools) can be implemented too.
Found typos will **not break** other jobs immediately: (tests, building compiler for perf run). Job will be marked as red on completion in ~ 20 secs, so you will not forget to fix it whenever you want, before merging pr.
Check typos: `python x.py test tidy --extra-checks=spellcheck`
Apply typo fixes: `python x.py test tidy --extra-checks=spellcheck:fix` (in case if there only 1 suggestion of each typo)
Current fail in this pr is expected and shows how typo errors emitted. Commit with error will be removed after r+.File tree
129 files changed
+326
-175
lines changed- .github/workflows
- compiler
- rustc_ast_passes
- rustc_ast/src
- rustc_attr_parsing/src
- attributes
- rustc_builtin_macros/src
- rustc_codegen_llvm/src
- llvm
- rustc_codegen_ssa
- src
- back
- traits
- rustc_const_eval/src
- interpret
- util
- rustc_data_structures/src
- rustc_errors/src/markdown
- rustc_expand/src
- rustc_hir_analysis/src/hir_ty_lowering
- rustc_hir_typeck/src
- fn_ctxt
- method
- rustc_hir/src
- rustc_lexer/src
- rustc_lint_defs/src
- rustc_lint/src
- rustc_macros/src
- rustc_metadata/src
- rustc_middle/src
- mir
- interpret
- query
- ty
- rustc_mir_build/src/thir/pattern
- rustc_mir_transform/src
- rustc_monomorphize/src
- rustc_next_trait_solver/src/solve
- eval_ctxt
- normalizes_to
- rustc_passes
- src
- rustc_pattern_analysis/src
- rustc_query_system/src/dep_graph
- rustc_resolve/src
- rustc_serialize/src
- rustc_session/src
- rustc_smir/src/stable_mir
- rustc_span/src
- rustc_target/src/callconv
- rustc_trait_selection/src
- error_reporting/traits
- traits
- select
- rustc_ty_utils/src
- rustc_type_ir/src
- search_graph
- library
- coretests/tests/num/dec2flt
- core/src
- fmt
- intrinsics
- io
- num/dec2flt
- ptr
- std
- src
- os/unix
- sys
- net/connection/socket
- pal/uefi
- path
- random
- thread
- tests/thread_local
- src
- bootstrap/src
- core
- build_steps
- config
- utils
- etc/completions
- librustdoc
- clean
- doctest
- html
- markdown
- render
- static/js
- passes
- tools
- miri/src/shims
- tidy/src
- tests/ui/abi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
129 files changed
+326
-175
lines changed| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | | - | |
| 1347 | + | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments