rust/compiler/rustc_ast/src
Jana Dönszelmann f6d37a25a9
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: https://github.com/rust-lang/compiler-team/issues/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+.
2025-07-03 13:29:35 +02:00
..
attr Remove style() from AttributeExt trait 2025-06-21 11:09:13 -07:00
expand Change __rust_no_alloc_shim_is_unstable to be a function 2025-06-16 10:54:07 -07:00
util Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
ast.rs Rollup merge of #134006 - klensy:typos, r=nnethercote 2025-07-03 13:29:35 +02:00
ast_traits.rs completely deduplicate Visitor and MutVisitor 2025-06-19 17:50:44 +08:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
format.rs Implement DesugaringKind::FormatLiteral 2025-06-22 10:58:25 +02:00
lib.rs Remove unused feature gates 2025-06-28 23:36:46 +00:00
mut_visit.rs completely deduplicate Visitor and MutVisitor 2025-06-19 17:50:44 +08:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Reduce P<T> to a typedef of Box<T>. 2025-05-27 13:29:24 +10:00
token.rs Add Ident::is_non_reserved_ident 2025-06-26 18:11:14 +00:00
tokenstream.rs Add Ident::is_non_reserved_ident 2025-06-26 18:11:14 +00:00
visit.rs Rollup merge of #134006 - klensy:typos, r=nnethercote 2025-07-03 13:29:35 +02:00