rust/compiler/rustc_middle/src
Chris Denton 96ac7d8b5e
Rollup merge of #140052 - GuillaumeGomez:fix-140026, r=nnethercote
Fix error when an intra doc link is trying to resolve an empty associated item

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

Assigning ```@nnethercote``` since they're the one who wrote the initial change.

I updated rustdoc code instead of compiler's because I think it makes more sense that the caller ensures on their side that the name they're looking for isn't empty.

r? ```@nnethercote```
2025-04-21 18:53:18 +00:00
..
dep_graph Add a dep kind for use of the anon node with zero dependencies 2025-04-02 07:35:05 +02:00
hir do not emit OpaqueCast projections with -Znext-solver 2025-04-17 12:15:04 +02:00
hooks Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
infer Split TypeFolder and FallibleTypeFolder 2025-04-15 18:30:35 +00:00
middle Make LevelAndSource a struct 2025-04-03 09:17:55 +00:00
mir do not emit OpaqueCast projections with -Znext-solver 2025-04-17 12:15:04 +02:00
query Rollup merge of #139772 - nnethercote:rm-hir-Map, r=Zalathar 2025-04-15 15:47:28 +10:00
thir Add {ast,hir,thir}::PatKind::Missing variants. 2025-03-28 09:18:57 +11:00
traits Rollup merge of #138176 - compiler-errors:rigid-sized-obl, r=lcnr 2025-03-31 14:36:20 +02:00
ty Rollup merge of #140052 - GuillaumeGomez:fix-140026, r=nnethercote 2025-04-21 18:53:18 +00:00
util Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
arena.rs Move FlagComputation, PatternKind, and TypeWalker to rustc_type_ir 2025-04-12 22:46:11 +00:00
error.rs Teach structured errors to display short Ty 2025-02-25 16:56:03 +00:00
lib.rs Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
lint.rs Remove LintExpectationId from Level variants 2025-04-03 09:22:21 +00:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obk 2025-04-07 22:29:18 +10:00
values.rs Avoiding calling queries when collecting active queries 2025-03-26 09:36:36 +01:00