| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -398/+0 | |
| 2020-08-14 | Rollup merge of #75448 - lcnr:rn-as_local_hir_id, r=davidtwco | Tyler Mandry | -2/+2 | |
| merge `as_local_hir_id` with `local_def_id_to_hir_id` `as_local_hir_id` was defined as just calling `local_def_id_to_hir_id` and I think that having two different ways to call the same method is somewhat confusing. Don't really care about which of these 2 methods we want to keep. Does this require an MCP, considering that these methods are fairly frequently used? | ||||
| 2020-08-14 | add a FIXME concerning interning of promoteds | Ralf Jung | -0/+6 | |
| 2020-08-13 | merge `as_local_hir_id` with `local_def_id_to_hir_id` | Bastian Kauschke | -2/+2 | |
| 2020-08-09 | move const_eval error reporting logic into rustc_mir::const_eval::error | Ralf Jung | -4/+5 | |
| 2020-07-22 | renamed ScalarMaybeUninit::not_undef to check_init | Philippe Nadon | -1/+1 | |
| Renamed the function ScalarMaybeUninit::not_undef to ScalarMaybeUninit::check_init in the file src/librustc_middle/mir/interpret/value.rs, to reflect changes in terminology used. Related issue rust-lang#71193 | ||||
| 2020-07-20 | mir: `unused_generic_params` query | David Wood | -1/+1 | |
| This commit implements the `unused_generic_params` query, an initial version of polymorphization which detects when an item does not use generic parameters and is being needlessly monomorphized as a result. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -3/+2 | |
| 2020-07-15 | update promoted_mir | Bastian Kauschke | -1/+1 | |
| 2020-07-15 | update const arg queries | Bastian Kauschke | -1/+2 | |
| 2020-07-15 | const generics work! | Bastian Kauschke | -1/+1 | |
| 2020-07-15 | InstanceDef::Item | Bastian Kauschke | -12/+12 | |
| 2020-07-06 | Auto merge of #73978 - Mark-Simulacrum:shrink-paramenv, r=nnethercote | bors | -5/+5 | |
| Shrink ParamEnv to 16 bytes r? @nnethercote x.py check passes but I haven't tried running perf or tests | ||||
| 2020-07-05 | Shrink ParamEnv to 16 bytes | Mark Rousskov | -5/+5 | |
| 2020-07-04 | ConstCx to LocalDefId | Bastian Kauschke | -4/+4 | |
| 2020-06-14 | keep root_span and tcx together | Ralf Jung | -2/+2 | |
| 2020-06-12 | avoid computing cur_span all the time | Ralf Jung | -3/+9 | |
| 2020-06-12 | fix const_prop spans and re-bless tests | Ralf Jung | -2/+2 | |
| 2020-06-12 | make miri InterpCx TyCtxtAt a TyCtxt, and separately remember the root span ↵ | Ralf Jung | -10/+11 | |
| of the evaluation | ||||
| 2020-06-09 | Fix more clippy warnings | Matthias Krüger | -3/+1 | |
| Fixes more of: clippy::unused_unit clippy::op_ref clippy::useless_format clippy::needless_return clippy::useless_conversion clippy::bind_instead_of_map clippy::into_iter_on_ref clippy::redundant_clone clippy::nonminimal_bool clippy::redundant_closure clippy::option_as_ref_deref clippy::len_zero clippy::iter_cloned_collect clippy::filter_next | ||||
| 2020-05-24 | Removed all instances of const_field. | Rakshith Ravi | -1/+1 | |
| 2020-05-22 | Use `OnceCell` instead of `Once` | Dylan MacKenzie | -2/+2 | |
| 2020-05-10 | avoid raising interpreter errors from interning | Ralf Jung | -1/+1 | |
| 2020-05-09 | Rollup merge of #71508 - oli-obk:alloc_map_unlock, r=RalfJung | Ralf Jung | -3/+3 | |
| Simplify the `tcx.alloc_map` API This PR changes all functions that require manually locking the `alloc_map` to functions on `TyCtxt` that lock the map internally. In the same step we make the `TyCtxt::alloc_map` field private. r? @RalfJung | ||||
| 2020-05-08 | Create a convenience wrapper for `get_global_alloc(id).unwrap()` | Oliver Scherer | -6/+5 | |
| 2020-05-08 | Move `unwrap_fn` and `unwrap_memory` to `GlobalAlloc` | Oliver Scherer | -3/+9 | |
| 2020-05-08 | Simplify the `tcx.alloc_map` API | Oliver Scherer | -8/+3 | |
| 2020-05-07 | Renamed "undef" stuff to "uninit" | Hanif Bin Ariffin | -5/+5 | |
| 1. InvalidUndefBytes -> InvalidUninitBytes 2. ScalarMaybeUndef -> ScalarMaybeUninit 3. UndefMask -> InitMask Related issue #71193 | ||||
| 2020-04-28 | better document const-pattern dynamic soundness checks, and fix a soundness hole | Ralf Jung | -1/+1 | |
| 2020-04-27 | Use `LocalDefId` in `typeck_tables_of` and `used_trait_imports` queries | marmeladema | -3/+5 | |
| 2020-04-24 | Remove `Option` from the return type of `def_kind`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-04-23 | Modify `as_local_hir_id` to return a bare `HirId` | marmeladema | -2/+2 | |
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -2/+2 | |
| 2020-04-19 | Dogfood more or_patterns in the compiler | Josh Stone | -1/+1 | |
| 2020-04-16 | mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`. | Eduard-Mihai Burtescu | -10/+6 | |
| 2020-04-13 | fmt | Ralf Jung | -2/+3 | |
| 2020-04-13 | add after_stack_push hook; add public ImmTy::from_immediate method, and make ↵ | Ralf Jung | -19/+21 | |
| ImmTy::imm field private | ||||
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -3/+4 | |
| 2020-03-30 | remove caller span from Miri stack frame | Ralf Jung | -1/+0 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -7/+7 | |
| 2020-03-29 | Use `&` to do deref coercion for `ReadOnlyBodyAndCache` | Dylan MacKenzie | -1/+1 | |
| 2020-03-08 | fix some cases of unexpected exceptions leaving validation | Ralf Jung | -1/+6 | |
| 2020-03-06 | fix various typos | Matthias Krüger | -2/+2 | |
| 2020-03-05 | Opt out of CTFE if the 'const_eval_limit' is set to 0 | Christoph Schmidler | -2/+2 | |
| 2020-02-20 | Revert "Rollup merge of #69280 - ↵ | Dylan MacKenzie | -2/+2 | |
| ecstatic-morse:promote-shuffle-no-special-case, r=petrochenkov" This reverts commit 61d3b6dedb1ec1f3e3cbd3d66b1a3453225bc37c, reversing changes made to c6ad1e2c2a0c7e48537617d36085f866fa6a65a3. | ||||
| 2020-02-18 | Remove mention of `simd_shuffle` promotion from comments | Dylan MacKenzie | -2/+2 | |
| 2020-02-18 | Rollup merge of #69181 - skinny121:const-eval-return, r=oli-obk | Dylan DPC | -11/+7 | |
| Change const eval to just return the value As discussed in https://github.com/rust-lang/rust/pull/68505#discussion_r370956535, the type of consts shouldn't be returned from const eval queries. r? @eddyb cc @nikomatsakis | ||||
| 2020-02-15 | Change const eval to return `ConstValue`, instead of `Const` as the type ↵ | Ben Lewis | -11/+7 | |
| inside it shouldn't be used. | ||||
| 2020-02-14 | Check `has_typeck_tables` before calling `typeck_tables_of` | Yuki Okushi | -1/+4 | |
| 2020-02-11 | Run RustFmt | jumbatm | -3/+1 | |
