summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/ty/consts.rs
Commit message (Expand)AuthorAgeFilesLines
* format `Const`'s less verboselyBoxy2023-05-161-10/+0
* Rename const error methods for consistencyMichael Goulet2023-05-141-4/+2
* Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-031-1/+1
* Remove WithOptconstParam.Camille GILLOT2023-04-201-16/+6
* IdentitySubsts::identity_for_item takes Into<DefId>Michael Goulet2023-03-211-1/+1
* Use local key in providersMichael Goulet2023-03-211-3/+3
* Use param's real type in try_eval_lit_or_paramMichael Goulet2023-03-091-3/+6
* Auto merge of #108351 - petrochenkov:rmdit, r=cjgillotbors2023-03-051-1/+1
|\
| * rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov2023-03-021-1/+1
* | Match unmatched backticks in compiler/ that are part of rustdocest312023-03-031-1/+1
|/
* Move late-bound arg type checks to resolve_bound_varsMichael Goulet2023-02-181-0/+3
* Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors2023-02-171-1/+4
|\
| * changes from reviewKyle Matsuda2023-02-161-1/+4
| * remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda2023-02-161-1/+1
| * change usages of type_of to bound_type_ofKyle Matsuda2023-02-161-1/+1
* | Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger2023-02-171-9/+22
|\ \ | |/ |/|
| * A bit more work on late-bound constsMichael Goulet2023-02-161-9/+22
* | Use target instead of machine for mir interpreter integer handling.Oli Scherer2023-02-151-1/+1
|/
* s/eval_usize/eval_target_usize/ for clarityOli Scherer2023-02-141-4/+8
* change const_param_default query to return EarlyBinder; remove bound_const_pa...Kyle Matsuda2023-01-141-2/+2
* rustc: Remove needless lifetimesJeremy Stucki2022-12-201-1/+1
* Make a field only as public as it needs to beOli Scherer2022-12-161-1/+1
* Rename ConstS to ConstDataOli Scherer2022-12-161-4/+4
* Remove `Const::from_scalar_int`Maybe Waffle2022-11-281-6/+4
* Remove `Const::from_value`Maybe Waffle2022-11-281-10/+3
* Simplify calls to `tcx.mk_const`Maybe Waffle2022-11-281-4/+4
* deduplicate constant evaluation in cranelift backendRalf Jung2022-11-191-15/+0
* Store a LocalDefId in hir::AnonConst.Camille GILLOT2022-11-131-2/+2
* Store a LocalDefId in hir::GenericParam.Camille GILLOT2022-11-131-6/+4
* Use const_error_with_guaranteed moreMichael Goulet2022-11-101-3/+2
* Refactor tcx mk_const parameters.Mateusz2022-11-041-8/+5
* change `ConstEvaluatable` to use `ty::Const`lcnr2022-10-181-0/+4
* rename Unevaluated to UnevaluatedConstb-naber2022-09-231-1/+1
* introduce mir::Unevaluatedb-naber2022-09-221-1/+0
* remove `ty::Const::from_inline_const`lcnr2022-09-191-44/+1
* use ty::Unevaluated<'tcx, ()> in type systemb-naber2022-09-131-3/+3
* tracing::instrument cleanupOli Scherer2022-09-011-2/+0
* Deeply deny fn and raw ptrs in const genericsMichael Goulet2022-07-251-1/+1
* Update TypeVisitor pathsAlan Egerton2022-07-061-1/+1
* rebaseb-naber2022-06-141-2/+2
* fix clippy test failuresb-naber2022-06-141-0/+8
* implement valtrees as the type-system representation for constant valuesb-naber2022-06-141-10/+25
* Rename the `ConstS::val` field as `kind`.Nicholas Nethercote2022-06-141-12/+12
* Inline Const::ty() and Const::val() gettersMartin Gammelsæter2022-04-131-0/+2
* rustc_error: make ErrorReported impossible to constructmark2022-03-161-1/+1
* rename ErrorReported -> ErrorGuaranteedmark2022-03-021-2/+2
* Switch bootstrap cfgsMark Rousskov2022-02-251-1/+1
* Overhaul `Const`.Nicholas Nethercote2022-02-151-33/+55
* Rollup merge of #92780 - b-naber:postpone-const-eval-coherence, r=lcnrMatthias Krüger2022-01-181-9/+12
|\
| * directly use ConstValue for single literals in blocksb-naber2022-01-171-9/+12