about summary refs log tree commit diff
path: root/compiler/rustc_metadata
AgeCommit message (Expand)AuthorLines
2021-01-23Iterate DefId to encode expn_that_defined.Camille GILLOT-4/+1
2021-01-23Iterate DefId to encode attributes.Camille GILLOT-17/+4
2021-01-23Iterate DefId to encode visibility.Camille GILLOT-10/+38
2021-01-23Iterate to encode def_kind.Camille GILLOT-60/+28
2021-01-23Iterate DefId to encode spans.Camille GILLOT-13/+15
2021-01-23Encode DefKind directly.Camille GILLOT-142/+160
2021-01-17Impl EncodableWithShorthand for PredicateKindJack Huey-0/+6
2021-01-16Can't use EncodableWithShorthand for PredicateJack Huey-6/+0
2021-01-15Auto merge of #80602 - tgnottingham:cratemetadata_you_aint_special, r=michael...bors-38/+9
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-2/+2
2021-01-14Encode optimized MIR of generators when emitting metadataTomasz Miąsko-1/+4
2021-01-13Auto merge of #77524 - Patryk27:fixes/66228, r=estebankbors-5/+12
2021-01-13Auto merge of #80718 - tmiasko:skip-opt-mir, r=oli-obkbors-32/+39
2021-01-13Auto merge of #79322 - jyn514:refactor-impl, r=estebankbors-1/+1
2021-01-12Separate out a `hir::Impl` structJoshua Nelson-1/+1
2021-01-13Skip promoted mir of struct constructors & enum constructorsTomasz Miąsko-2/+0
2021-01-13Consistently avoid constructing optimized MIR when not doing codegenTomasz Miąsko-16/+30
2021-01-12Reorder MIR encoding checksTomasz Miąsko-25/+20
2021-01-12Prevent potential bug resulting from changing crate_hash query nameTyson Nottingham-1/+2
2021-01-12Return to defining crate_hash similarly to other query providersTyson Nottingham-17/+5
2021-01-12Remove DepKind::CrateMetadata and pre-allocation of DepNodesTyson Nottingham-38/+20
2021-01-12Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelixbors-33/+105
2021-01-11Serialize incr comp structures to file via fixed-size bufferTyson Nottingham-1/+1
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-5/+12
2021-01-05Rollup merge of #80643 - LingMan:unwrap, r=oli-obkYuki Okushi-8/+7
2021-01-04Differentiate between the availability of ctfe MIR and runtime MIRoli-1/+5
2021-01-04Keep an unoptimized duplicate of `const fn` aroundoli-18/+83
2021-01-04Require the `encode_promoted_mir` caller to know whether MIR for this item ac...oli-3/+1
2021-01-04Limit trait item mir encoding to items with default bodiesoli-2/+9
2021-01-04Remove mir encode calls that didn't actually encode anythingoli-2/+0
2021-01-04Make `encode_optimized_mir` always perform its action and instead require the...oli-11/+11
2021-01-04Auto merge of #80610 - Aaron1011:unhash-def-path-hash, r=varkorbors-2/+3
2021-01-03Rollup merge of #80646 - bugadani:meta, r=petrochenkovGuillaume Gomez-17/+12
2021-01-03Rollup merge of #80628 - matthiaskrgr:match_ref_pats, r=varkorGuillaume Gomez-4/+4
2021-01-03Move variable into condition where it's usedDániel Buga-1/+1
2021-01-03No need to collect result of get_item_attrsDániel Buga-3/+2
2021-01-03Clean up convoluted macros_only logicDániel Buga-13/+9
2021-01-03Auto merge of #80247 - tmiasko:indent, r=bjorn3bors-1/+1
2021-01-03Move variable into the only branch where it is relevantLingMan-8/+7
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-4/+4
2021-01-01Use `UnhashMap` whenever we have a key of `DefPathHash`Aaron Hill-2/+3
2021-01-01adjust const generics defaults FIXMEs to the new feature gateRémy Rakic-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-20Fix indentation of -Z meta-stats outputTomasz Miąsko-1/+1
2020-12-17Rollup merge of #80039 - LeSeulArtichaut:rm-tyencoder-tcx, r=matthewjasperYuki Okushi-4/+0
2020-12-14Convenience funcs for `some_option.unwrap_or(...)`Rich Kadel-6/+1
2020-12-14Remove unused `TyEncoder::tcx` required methodLeSeulArtichaut-4/+0
2020-12-14Improve warnings on incompatible options involving -Zinstrument-coverageRich Kadel-3/+15
2020-12-08Account for gaps in def path table during decodingAaron Hill-3/+8
2020-12-03rustc_metadata: Remove some dead codeVadim Petrochenkov-25/+4