rust/compiler/rustc_ty_utils/src
bors 0fd571286e Auto merge of #123377 - oli-obk:private_projection, r=compiler-errors
Only inspect user-written predicates for privacy concerns

fixes #123288

Previously we looked at the elaborated predicates, which, due to adding various bounds on fields, end up requiring trivially true bounds. But these bounds can contain private types, which the privacy visitor then found and errored about.
2024-04-04 15:39:00 +00:00
..
abi.rs In ConstructCoroutineInClosureShim, pass receiver by ref, not pointer 2024-03-26 12:10:51 -04:00
assoc.rs Ensure nested statics have a HIR node to prevent various queries from ICEing 2024-03-19 09:38:15 +00:00
common_traits.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
consts.rs Add+Use mir::BinOp::Cmp 2024-03-23 23:23:41 -07:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
implied_bounds.rs Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
instance.rs Fix ABI for FnMut/Fn impls for async closures 2024-03-19 16:59:24 -04:00
layout.rs Rollup merge of #121546 - gurry:121473-ice-sizeof-mir-op, r=oli-obk 2024-04-04 14:51:14 +02:00
layout_sanity_check.rs fix failure to detect a too-big-type after adding padding 2023-10-27 18:07:53 +02:00
lib.rs Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco 2024-02-09 14:41:50 +01:00
needs_drop.rs Dejargnonize subst 2024-02-12 15:46:35 +09:00
opaque_types.rs Uplift and start using check_args_compatible more liberally 2024-04-03 11:18:55 -04:00
representability.rs make Representability::Infinite carry ErrorGuaranteed 2024-03-14 20:52:13 +01:00
sig_types.rs Only inspect user-written predicates for privacy concerns 2024-04-04 14:43:44 +00:00
structural_match.rs remove StructuralEq trait 2024-01-24 07:56:23 +01:00
ty.rs address nits 2024-03-18 22:28:29 +01:00