rust/compiler/rustc_middle/src
bors 144227dae9 Auto merge of #99232 - lcnr:no-bound-vars-check, r=jackh726
`replace_bound_vars` fast path: check predicates, don't check consts

split out from #98900

`ty::Const` doesn't have precomputed type flags, so
computing `has_vars_bound_at_or_above` for constants
requires us to visit the const and its contained types
and constants. A noop fold should be pretty much equally as
fast so removing it prevents us from walking the constant twice
in case it contains bound vars.

r? `@jackh726`
2022-07-18 13:59:05 +00:00
..
dep_graph Use a dedicated DepKind for the forever-red node. 2022-07-06 23:20:12 +02:00
hir Auto merge of #98203 - kckeiks:gather-body-owners-in-hir-item-queries, r=cjgillot 2022-07-15 01:03:55 +00:00
infer impl TypeVisitable in type traversal macros 2022-07-05 22:25:33 +01:00
middle Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillot 2022-07-14 13:42:09 +00:00
mir Introduce opaque type to hidden type projection 2022-07-15 15:49:22 +00:00
query Use constant eval to do strict validity checks 2022-07-14 22:55:17 +01:00
thir Rollup merge of #99000 - JulianKnodt:allow_resolve_no_substs, r=lcnr 2022-07-14 19:24:04 +05:30
traits Rollup merge of #99290 - compiler-errors:revert-98794, r=lcnr 2022-07-16 22:30:52 +02:00
ty Auto merge of #99232 - lcnr:no-bound-vars-check, r=jackh726 2022-07-18 13:59:05 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs arena > Rc for query results 2022-07-12 15:27:24 +02:00
lib.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
lint.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
macros.rs impl TypeVisitable in type traversal macros 2022-07-05 22:25:33 +01:00
metadata.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
tests.rs
thir.rs Rollup merge of #99000 - JulianKnodt:allow_resolve_no_substs, r=lcnr 2022-07-14 19:24:04 +05:30