rust/compiler/rustc_middle/src/ty
bors 18b53cefdf Auto merge of #95604 - nbdd0121:used2, r=petrochenkov
Generate synthetic object file to ensure all exported and used symbols participate in the linking

Fix #50007 and #47384

This is the synthetic object file approach that I described in https://github.com/rust-lang/rust/pull/95363#issuecomment-1079932354, allowing all exported and used symbols to be linked while still allowing them to be GCed.

Related #93791, #95363

r? `@petrochenkov`
cc `@carbotaniuman`
2022-04-25 16:14:54 +00:00
..
consts Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk 2022-04-16 19:42:03 +02:00
inhabitedness couple of clippy::complexity fixes 2022-04-13 22:51:34 +02:00
print Rollup merge of #96142 - cjgillot:no-crate-def-index, r=petrochenkov 2022-04-19 14:43:21 +02:00
_match.rs Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
adjustment.rs Remove in_band_lifetimes from rustc_middle 2021-12-15 19:50:43 -05:00
adt.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
assoc.rs Fix ret > 1 bound if shadowed by const 2022-02-03 15:17:51 +00:00
binding.rs words 2020-11-16 22:42:09 +01:00
cast.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
closure.rs Better suggestions for Fn trait selection errors 2022-03-23 21:46:11 -07:00
codec.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
consts.rs Inline Const::ty() and Const::val() getters 2022-04-13 14:10:37 +02:00
context.rs Provide a better diagnostic on failure to meet send bound on futures in a foreign crate 2022-04-16 14:09:40 +03:00
diagnostics.rs Fix wrong suggestions for T: 2022-04-12 11:29:23 +04:00
erase_regions.rs initial revert 2022-01-15 01:16:55 +00:00
error.rs FIXME for diagnostic variable name 2022-04-10 11:11:25 -07:00
fast_reject.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
flags.rs Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
fold.rs Rollup merge of #94869 - jackh726:gats_extended, r=compiler-errors 2022-03-31 00:26:29 +02:00
generics.rs reviews ish 2022-01-14 13:45:07 +00:00
impls_ty.rs rework implementation for inherent impls for builtin types 2022-03-30 11:23:58 +02:00
instance.rs rename ErrorReported -> ErrorGuaranteed 2022-03-02 09:45:25 -06:00
layout.rs mark payload fields of ScalarPair enums as Scalar::Union when they're not always initialized 2022-04-18 21:43:20 -04:00
list.rs Improve the readability of List<T>. 2021-12-09 15:20:58 +11:00
mod.rs Compute has_pub_restricted in the resolver. 2022-04-23 23:03:18 +02:00
normalize_erasing_regions.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
query.rs Auto merge of #95604 - nbdd0121:used2, r=petrochenkov 2022-04-25 16:14:54 +00:00
relate.rs Split relate_substs into two functions 2022-04-17 11:04:58 +02:00
structural_impls.rs Stop using CRATE_DEF_INDEX. 2022-04-17 12:14:42 +02:00
sty.rs a few mode feedback fixes per @bjorn3 2022-03-30 17:28:19 -04:00
subst.rs Document and rename the new wrapper type 2022-04-07 13:01:48 +00:00
trait_def.rs Create trait_def table. 2022-03-31 18:14:54 +02:00
util.rs Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
vtable.rs Turn tcx.vtable_allocation() into a query. 2021-10-07 20:03:00 +02:00
walk.rs use List<Ty<'tcx>> for tuples 2022-02-21 07:09:11 +01:00