| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -8747/+0 | |
| 2020-03-29 | Make `Visitor::visit_body` take a simple `Body` | Dylan MacKenzie | -7/+7 | |
| 2020-03-28 | use machine_ prefix for target usize/isize | Ralf Jung | -2/+2 | |
| 2020-03-28 | rename Scalar::{ptr_null -> null_ptr} | Ralf Jung | -1/+1 | |
| 2020-03-26 | Rename asm! to llvm_asm! | Amanieu d'Antras | -6/+6 | |
| asm! is left as a wrapper around llvm_asm! to maintain compatibility. | ||||
| 2020-03-26 | avoid catching InterpError | Ralf Jung | -5/+11 | |
| 2020-03-25 | add usize methods for Size getters | Ralf Jung | -4/+4 | |
| 2020-03-25 | go back to infix ops for Size | Ralf Jung | -12/+12 | |
| 2020-03-25 | add helper method for ptr ops on Scalar; reduce unnecessary large operand of ↵ | Ralf Jung | -49/+35 | |
| overflowing_signed_offset | ||||
| 2020-03-25 | use Size addition instead of checked int addition | Ralf Jung | -1/+1 | |
| 2020-03-25 | make Size::from* methods generic in the integer type they accept | Ralf Jung | -11/+6 | |
| 2020-03-25 | use checked casts and arithmetic in Miri engine | Ralf Jung | -91/+107 | |
| 2020-03-25 | Rollup merge of #70373 - Centril:canon-imports, r=Mark-Simulacrum | Mazdak Farrokhzad | -2/+3 | |
| normalize some imports & prefer direct ones r? @Mark-Simulacrum | ||||
| 2020-03-24 | normalize some imports, prefer direct ones. | Mazdak Farrokhzad | -2/+3 | |
| 2020-03-24 | move ModifiedStatic error to ConstEval errors, and generally adjust ↵ | Ralf Jung | -9/+0 | |
| terminology from "static" to "global" where appropriate | ||||
| 2020-03-24 | Rollup merge of #70277 - matthewjasper:remove-closurebound, r=nikomatsakis | Mazdak Farrokhzad | -25/+24 | |
| Remove `ReClosureBound` We now substitute external names for regions in the query response. r? @nikomatsakis | ||||
| 2020-03-24 | Rollup merge of #70267 - RalfJung:const-prop-unsup, r=oli-obk,wesleywiser | Mazdak Farrokhzad | -13/+31 | |
| get rid of ConstPropUnsupported; use ZST marker structs instead This gets rid of yet another machine-specific error variant. r? @oli-obk | ||||
| 2020-03-24 | Rollup merge of #70087 - ecstatic-morse:remove-const-eval-loop-detector, ↵ | Mazdak Farrokhzad | -7/+7 | |
| r=RalfJung Remove const eval loop detector Now that there is a configurable instruction limit for CTFE (see #67260), we can replace the loop detector with something much simpler. See #66946 for more discussion about this. Although the instruction limit is nightly-only, the only practical way to reach the default limit uses nightly-only features as well (although CTFE will still execute code using such features inside an array initializer on stable). This will at the very least require a crater run, since it will result in an error wherever the "long running const eval" warning appeared before. We may need to increase the default for `const_eval_limit` to work around this. Resolves #54384 cc #49980 r? @oli-obk cc @RalfJung | ||||
| 2020-03-24 | Rollup merge of #69981 - oli-obk:const_blocks, r=eddyb | Mazdak Farrokhzad | -334/+349 | |
| Evaluate repeat expression lengths as late as possible Fixes #68567 r? @varkor | ||||
| 2020-03-23 | Split out some impls from rustc::mir into a separate submodule | Oliver Scherer | -322/+323 | |
| 2020-03-23 | Remove leftover mentions of `from_anon_const` | Oliver Scherer | -1/+1 | |
| 2020-03-23 | Rollup merge of #70318 - anyska:multiple-derives, r=Dylan-DPC | Mazdak Farrokhzad | -85/+14 | |
| Split long derive lists into two derive attributes. | ||||
| 2020-03-23 | Rollup merge of #70299 - RalfJung:err_machine_stop, r=oli-obk | Mazdak Farrokhzad | -3/+8 | |
| add err_machine_stop macro We have that for all other error kinds, but here I somehow forgot it. r? @oli-obk | ||||
| 2020-03-23 | Remove `ReClosureBound` | Matthew Jasper | -25/+24 | |
| 2020-03-23 | Split long derive lists into two derive attributes. | Ana-Maria Mihalache | -85/+14 | |
| 2020-03-23 | Evaluate repeat expression lengths as late as possible | Oliver Scherer | -11/+25 | |
| 2020-03-23 | make sure we are checking the size of the right thing | Ralf Jung | -1/+1 | |
| 2020-03-23 | add macro to reduce boilerplate and keep readable messages | Ralf Jung | -1/+1 | |
| 2020-03-23 | Rollup merge of #70286 - RalfJung:no-experiments, r=petrochenkov | Mazdak Farrokhzad | -5/+2 | |
| Miri error type: remove UbExperimental variant In https://github.com/rust-lang/miri/pull/1250, I will move Miri away from that variant, and use a custom `MachineStop` exception instead. | ||||
| 2020-03-23 | add err_machine_stop macro | Ralf Jung | -3/+8 | |
| 2020-03-22 | remove UbExperimental variant | Ralf Jung | -5/+2 | |
| 2020-03-22 | avoid unsafe code, use upcasting-trait instead (trick by oli) | Ralf Jung | -25/+16 | |
| 2020-03-22 | Rename `TimeLimitReached` -> `StepLimitReached` | Dylan MacKenzie | -2/+4 | |
| 2020-03-22 | remove redundant closures (clippy::redundant_closure) | Matthias Krüger | -1/+1 | |
| 2020-03-22 | get rid of ConstPropUnsupported; use ZST marker structs instead | Ralf Jung | -13/+40 | |
| 2020-03-20 | more type annotations to help inference | Ralf Jung | -5/+5 | |
| 2020-03-19 | do not 'return' in 'throw_' macros | Ralf Jung | -5/+6 | |
| 2020-03-18 | Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc | Mazdak Farrokhzad | -1/+1 | |
| Remove some imports to the rustc crate - When we have `NestedVisitorMap::None`, we use `type Map = dyn intravisit::Map<'v>;` instead of the actual map. This doesn't actually result in dynamic dispatch (in the future we may want to use an associated type default to simplify the code). - Use `rustc_session::` imports instead of `rustc::{session, lint}`. r? @Zoxc | ||||
| 2020-03-18 | Rollup merge of #69839 - RalfJung:miri-error-cleanup, r=oli-obk | Mazdak Farrokhzad | -217/+134 | |
| Miri error reform Some time ago we started moving Miri errors into a few distinct categories, but we never classified all the old errors. That's what this PR does. ~~This is on top of https://github.com/rust-lang/rust/pull/69762; [relative diff](https://github.com/RalfJung/rust/compare/validity-errors...RalfJung:miri-error-cleanup).~~ r? @oli-obk Fixes https://github.com/rust-lang/const-eval/issues/4 | ||||
| 2020-03-17 | Use `const_eval_limit` instead of infinite loop detector | Dylan MacKenzie | -7/+5 | |
| 2020-03-16 | Auto merge of #67133 - oli-obk:it_must_be_a_sign, r=eddyb | bors | -8/+8 | |
| Deduplicate pretty printing of constants r? @eddyb for the pretty printing logic cc @RalfJung | ||||
| 2020-03-16 | use direct imports for `rustc::{lint, session}`. | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-14 | add Scalar::from methods for signed integers | Ralf Jung | -0/+26 | |
| 2020-03-14 | Rollup merge of #69809 - matthiaskrgr:lifetimes, r=eddyb | Yuki Okushi | -2/+2 | |
| remove lifetimes that can be elided (clippy::needless_lifetimes) | ||||
| 2020-03-12 | remove lifetimes that can be elided (clippy::needless_lifetimes) | Matthias Krüger | -2/+2 | |
| 2020-03-12 | Rollup merge of #69747 - spastorino:rename-rustc-guide, r=pietroalbini | Mazdak Farrokhzad | -2/+2 | |
| Rename rustc guide This is in preparation for https://github.com/rust-lang/rustc-guide/issues/470 Needs to be merged after we actually rename the guide. Have used this to rename: `git grep -l 'rustc_guide' | xargs sed -i 's/rustc_guide/rustc_dev_guide/g'` `git grep -l 'rustc-guide' | xargs sed -i 's/rustc-guide/rustc-dev-guide/g'` `git grep -l 'rustc guide' | xargs sed -i 's/rustc guide/rustc dev guide/g'` | ||||
| 2020-03-11 | fmt | Ralf Jung | -1/+1 | |
| 2020-03-11 | make error message less confusing | Ralf Jung | -2/+2 | |
| 2020-03-11 | generalize InvalidNullPointerUsage to InvalidIntPointerUsage | Ralf Jung | -9/+5 | |
| 2020-03-11 | fmt, tweak messages and bless | Ralf Jung | -20/+25 | |
