about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/consts.rs
AgeCommit message (Expand)AuthorLines
2023-12-15NFC: do not clone types that are copyMatthias Krüger-1/+1
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+2
2023-12-12Auto merge of #118841 - compiler-errors:always-copy, r=jackh726bors-1/+2
2023-12-12Make ConstKind and TyKind CopyMichael Goulet-1/+2
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
2023-12-08FeedbackMichael Goulet-4/+4
2023-12-08Uplift canonicalizer into new trait solver crateMichael Goulet-1/+15
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-2/+2
2023-12-02fix an ICE when a valtree failed to evaluateRalf Jung-2/+10
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-11-25Remove mir::Const::from_anon_constMichael Goulet-0/+4
2023-11-22Cache flags for ty::ConstMichael Goulet-1/+12
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-5/+3
2023-11-04No lifetime on PlaceholderConstMichael Goulet-1/+1
2023-10-24Get rid of 'tcx on ConstVid, EffectVidMichael Goulet-2/+2
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-11/+6
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-3/+3
2023-09-13restore the old logic adjusting ty::UnevaluatedConst before evaluationRalf Jung-24/+2
2023-09-13make the set of methods between our two Const types more consistentRalf Jung-97/+85
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-120/+67
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-2/+2
2023-07-18Auto merge of #113677 - bryangarza:unevaluated-const-ice_issue-110892, r=davi...bors-0/+8
2023-07-17Safe Transmute: Fix ICE (due to UnevaluatedConst)Bryan Garza-0/+8
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-9/+9
2023-07-06Fix up doc linksOli Scherer-2/+2
2023-07-05Deal with falloutBoxy-1/+1
2023-07-05move `ConstKind` to typeir and move inherent impls to `Const`Boxy-6/+152
2023-07-04Replace `const_error` methods with `Const::new_error`Boxy-2/+34
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-9/+78
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-1/+1
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-1/+1
2023-05-16format `Const`'s less verboselyBoxy-10/+0
2023-05-14Rename const error methods for consistencyMichael Goulet-4/+2
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-04-20Remove WithOptconstParam.Camille GILLOT-16/+6
2023-03-21IdentitySubsts::identity_for_item takes Into<DefId>Michael Goulet-1/+1
2023-03-21Use local key in providersMichael Goulet-3/+3
2023-03-09Use param's real type in try_eval_lit_or_paramMichael Goulet-3/+6
2023-03-05Auto merge of #108351 - petrochenkov:rmdit, r=cjgillotbors-1/+1
2023-03-03Match unmatched backticks in compiler/ that are part of rustdocest31-1/+1
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-02-18Move late-bound arg type checks to resolve_bound_varsMichael Goulet-0/+3
2023-02-17Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors-1/+4
2023-02-16changes from reviewKyle Matsuda-1/+4
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-02-17Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger-9/+22
2023-02-16A bit more work on late-bound constsMichael Goulet-9/+22
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-4/+8