rust/compiler/rustc_builtin_macros/src
Matthias Krüger 3e634f8c5c
Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkov
Use `ControlFlow` in visitors.

Follow up to #121256

This does have a few small behaviour changes in some diagnostic output where the visitor will now find the first match rather than the last match. The change in `find_anon_types.rs` has the only affected test. I don't see this being an issue as the last occurrence isn't any better of a choice than the first.
2024-03-08 13:22:26 +01:00
..
assert Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
deriving Use ControlFlow in AST visitors. 2024-03-05 19:03:20 -05:00
format_foreign Use as_deref in compiler (but only where it makes sense) 2022-11-16 21:58:58 +00:00
alloc_error_handler.rs Remove ExtCtxt methods that duplicate DiagCtxt methods. 2023-12-24 07:24:52 +11:00
asm.rs Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu 2024-03-08 08:19:17 +01:00
assert.rs Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
cfg_accessible.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
cfg_eval.rs Use ControlFlow in AST visitors. 2024-03-05 19:03:20 -05:00
cfg.rs Remove ast:: & base:: prefixes from some builtin macros 2024-02-25 22:25:26 +01:00
cmdline_attrs.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
compile_error.rs Remove ast:: & base:: prefixes from some builtin macros 2024-02-25 22:25:26 +01:00
concat_bytes.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
concat_idents.rs Remove ast:: & base:: prefixes from some builtin macros 2024-02-25 22:25:26 +01:00
concat.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
derive.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
edition_panic.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00
env.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
errors.rs Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu 2024-03-08 08:19:17 +01:00
format_foreign.rs unwrap return Option value, as it always returns Some for some fns 2023-11-28 14:52:21 +03:00
format.rs Rename BuiltinLintDiagnostics as BuiltinLintDiag. 2024-03-05 12:15:10 +11:00
global_allocator.rs Remove ExtCtxt methods that duplicate DiagCtxt methods. 2023-12-24 07:24:52 +11:00
lib.rs Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
log_syntax.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
proc_macro_harness.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
source_util.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
standard_library_imports.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
test_harness.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
test.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
trace_macros.rs Remove ExtCtxt methods that duplicate DiagCtxt methods. 2023-12-24 07:24:52 +11:00
type_ascribe.rs Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
util.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00