| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -577/+0 | |
| 2020-03-25 | Rollup merge of #70373 - Centril:canon-imports, r=Mark-Simulacrum | Mazdak Farrokhzad | -1/+1 | |
| normalize some imports & prefer direct ones r? @Mark-Simulacrum | ||||
| 2020-03-24 | normalize some imports, prefer direct ones. | Mazdak Farrokhzad | -1/+1 | |
| 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 #70267 - RalfJung:const-prop-unsup, r=oli-obk,wesleywiser | Mazdak Farrokhzad | -11/+29 | |
| 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-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-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 | get rid of ConstPropUnsupported; use ZST marker structs instead | Ralf Jung | -11/+38 | |
| 2020-03-17 | Use `const_eval_limit` instead of infinite loop detector | Dylan MacKenzie | -7/+5 | |
| 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/+4 | |
| 2020-03-11 | fmt, tweak messages and bless | Ralf Jung | -20/+25 | |
| 2020-03-11 | miri: categorize errors into "unsupported" and "UB" | Ralf Jung | -182/+113 | |
| Also slightly refactor pointer bounds checks to avoid creating unnecessary temporary Errors | ||||
| 2020-03-10 | [Miri] Use a session variable instead of checking for an env var always | Wesley Wiser | -13/+20 | |
| In CTFE heavy code, checking the env var everytime is inefficient. We can do a lot better by using a `Session` variable instead. | ||||
| 2020-03-08 | use static strings instead of tcx | Ralf Jung | -5/+5 | |
| 2020-03-08 | Fix typo | Ralf Jung | -2/+2 | |
| Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com> | ||||
| 2020-03-08 | fix some cases of unexpected exceptions leaving validation | Ralf Jung | -5/+8 | |
| 2020-03-08 | move error allocation test to error.rs | Ralf Jung | -1/+17 | |
| 2020-02-28 | use is_empty() instead of len() == x to determine if structs are empty. | Matthias Krüger | -1/+1 | |
| 2020-02-15 | Change const eval to return `ConstValue`, instead of `Const` as the type ↵ | Ben Lewis | -1/+2 | |
| inside it shouldn't be used. | ||||
| 2020-02-13 | improve comments: | Ralf Jung | -0/+1 | |
| - comment for special handling of Shl/Shr - reference a PR | ||||
| 2020-02-13 | small cleanup in ConstEvalErr::struct_generic | Ralf Jung | -31/+40 | |
| 2020-02-13 | move PanicInfo to mir module | Ralf Jung | -57/+0 | |
| 2020-02-13 | remove PanicInfo::Panic variant that MIR does not use or need | Ralf Jung | -7/+2 | |
| 2020-02-13 | remove Panic variant from InterpError | Ralf Jung | -7/+15 | |
| 2020-02-12 | Fix outdated doc comment. | jumbatm | -4/+3 | |
| 2020-02-11 | Run RustFmt | jumbatm | -9/+8 | |
| 2020-02-11 | Invert control in struct_lint_level. | jumbatm | -31/+50 | |
| Caller now passes in a `decorate` function, which is only run if the lint is allowed. | ||||
| 2020-01-18 | remove rustc_error_codes deps except in rustc_driver | Mazdak Farrokhzad | -2/+0 | |
| 2020-01-16 | let rustfmt undo most of my edits :( | Ralf Jung | -2/+1 | |
| 2020-01-16 | fix rustfmt fallout | Ralf Jung | -2/+3 | |
| 2020-01-11 | lints: promote levels.rs to lint.rs & extract passes.rs | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -1/+1 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-26 | Prevent an ICE on invalid transmutes | Oliver Scherer | -0/+6 | |
| 2019-12-22 | Format the world | Mark Rousskov | -219/+201 | |
| 2019-12-07 | Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obk | bors | -2/+19 | |
| Miri core engine: use throw_ub instead of throw_panic See https://github.com/rust-lang/rust/issues/66902 for context: panicking is not really an "interpreter error", but just part of a normal Rust execution. This is a first step towards removing the `InterpError::Panic` variant: the core Miri engine does not use it any more. ConstProp and ConstEval still use it, though. This will be addressed in future PRs. From what I can tell, all the error messages this removes are actually duplicates. r? @oli-obk @wesleywiser | ||||
| 2019-12-01 | Miri core engine: use throw_ub instead of throw_panic | Ralf Jung | -2/+19 | |
| 2019-12-01 | add reusable MachineStop variant to Miri engine error enum | Ralf Jung | -16/+12 | |
| 2019-12-01 | Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obk | Mazdak Farrokhzad | -7/+13 | |
| const_prop: detect and avoid catching Miri errors that require allocation r? @wesleywiser @oli-obk | ||||
| 2019-11-28 | const_prop: detect and avoid catching Miri errors that require allocation | Ralf Jung | -7/+13 | |
| 2019-11-28 | Removed FIXME comment | David Haig | -2/+0 | |
