rust/compiler/rustc_middle/src
Matthias Krüger 2a25a16c57
Rollup merge of #137100 - fmease:hirtylow-rm-clauses-wrapper, r=compiler-errors
HIR analysis: Remove unnecessary abstraction over list of clauses

`rustc_hir_analysis::bounds::Bounds` with its methods is nowadays a paper-thin wrapper around `Vec<(Clause, Span)>`s and `Vec::push` essentially.

Its existence slightly annoyed me (and I keep opening its corresp. file instead of the identically named `bounds.rs` in `hir_ty_lowering/` that I actually want most of the time :P).

Opening to check if you agree with inlining it.
r? compiler-errors or reassign
2025-02-17 06:38:14 +01:00
..
dep_graph Remove impl_for_typed_def_id macro. 2025-02-04 08:34:11 +11:00
hir Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11: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 Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
middle Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
mir Rollup merge of #137095 - saethlin:use-hash64-for-hashes, r=workingjubilee 2025-02-17 06:38:14 +01:00
query Fix early lint check desc in query 2025-02-14 09:49:57 +08:00
thir Fix an inconsistent import. 2025-02-04 08:34:11 +11:00
traits Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity 2025-02-13 03:45:04 +00:00
ty Rollup merge of #137100 - fmease:hirtylow-rm-clauses-wrapper, r=compiler-errors 2025-02-17 06:38:14 +01:00
util Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
arena.rs intern valtrees 2025-02-13 00:38:17 +01:00
error.rs compiler: Make middle errors pub(crate) and bury some dead code 2025-02-11 21:57:05 -08:00
lib.rs stabilize feature(trait_upcasting) 2025-02-06 23:30:23 +01:00
lint.rs Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
macros.rs Don't export the Trivial* macros. 2025-01-31 16:04:13 +11: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 Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
values.rs Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00