rust/compiler/rustc_builtin_macros/src
bors c308726599 Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlin
Replace visibility test with reachability test in dead code detection

Fixes https://github.com/rust-lang/rust/issues/119545

Also included is a fix for an error now flagged by the lint
2024-03-23 00:37:05 +00:00
..
assert Add MatchKind member to the Match expr for pretty printing & fmt 2024-03-06 00:35:19 -05:00
deriving Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlin 2024-03-23 00:37:05 +00: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 Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00:00
assert.rs Make unexpected always "return" PResult<()> & add unexpected_any 2024-03-15 11:36:21 +00: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 delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
cmdline_attrs.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
compile_error.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
concat_bytes.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
concat_idents.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
concat.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
derive.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
edition_panic.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
env.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
errors.rs Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11: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 delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
global_allocator.rs Remove ExtCtxt methods that duplicate DiagCtxt methods. 2023-12-24 07:24:52 +11:00
lib.rs Make type_ascribe! not a built-in 2024-03-20 22:28:56 -04:00
log_syntax.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
proc_macro_harness.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
source_util.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08: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 delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
util.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00