rust/compiler/rustc_passes/src
Matthias Krüger 81dd4082ab
Rollup merge of #147615 - jdonszelmann:span-calls-doc-attr, r=JonathanBrouwer,GuillaumeGomez
reduce calls to attr.span() in old doc attr parsing

r? `@oli-obk`

should be trivial, can also delegate to `@GuillaumeGomez` or `@JonathanBrouwer.`

As part of making span() return an option I want to reduce the number of places we call span in without it being known what specific attr it's for. This makes that more obvious for doc. Part of a chain of PRs that's coming.

https://github.com/rust-lang/rust/issues/131229#issuecomment-3395316064
2025-10-13 16:54:15 +02:00
..
abi_test.rs Generalize TyCtxt::item_name. 2025-07-13 13:50:00 +00:00
check_attr.rs reduce calls to attr.span() in old doc attr parsing 2025-10-12 22:15:58 +02:00
check_export.rs Remove DynKind 2025-09-17 04:46:46 +02:00
dead.rs Introduce hir::ImplItemImplKind 2025-09-12 15:14:15 -05:00
debugger_visualizer.rs port #[debugger_visualizer] to the new attribute system 2025-09-21 21:30:16 -07:00
diagnostic_items.rs Implement lint against direct uses of rustc_type_ir in compiler crates 2025-06-18 16:01:41 +02:00
entry.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00
errors.rs Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
hir_id_validator.rs Adjust Map's to_string functionality. 2025-03-12 08:30:03 +11:00
input_stats.rs remove P 2025-08-09 15:47:01 +08:00
lang_items.rs Improved Target type 2025-08-14 18:11:47 +02:00
layout_test.rs rename select_where_possible and select_all_or_error 2025-10-07 23:02:23 +01:00
lib.rs Diagnose liveness on MIR. 2025-10-11 20:50:21 +00:00
lib_features.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
reachable.rs add a flag to codegen fn attrs for foreign items 2025-08-26 13:05:51 +02:00
stability.rs Split AssocContainer::{InherentImpl,TraitImpl} 2025-09-12 15:14:15 -05:00
upvars.rs use let chains in mir, resolve, target 2025-07-28 06:10:36 +05:00
weak_lang_items.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00