| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-19 | Auto merge of #102795 - lukas-code:constify-is-aligned-via-align-offset, ↵ | bors | -53/+140 | |
| r=oli-obk Constify `is_aligned` via `align_offset` Alternative to https://github.com/rust-lang/rust/pull/102753 Make `align_offset` work in const eval (and not always return `usize::MAX`) and then use that to constify `is_aligned{_to}`. Tracking Issue: https://github.com/rust-lang/rust/issues/104203 | ||||
| 2022-11-19 | Revert "don't call `align_offset` during const eval, ever" | Lukas Markeffsky | -90/+44 | |
| This reverts commit f3a577bfae376c0222e934911865ed14cddd1539. | ||||
| 2022-11-19 | fix const `align_offset` implementation | Lukas Markeffsky | -3/+6 | |
| 2022-11-19 | replace potential ICE with graceful error (`no_core` only) | Lukas Markeffsky | -3/+2 | |
| 2022-11-19 | don't call `align_offset` during const eval, ever | Lukas Markeffsky | -43/+88 | |
| 2022-11-19 | make const `align_offset` useful | Lukas Markeffsky | -23/+106 | |
| 2022-11-19 | unify inherent impls of `CompileTimeEvalContext` | Lukas Markeffsky | -46/+44 | |
| 2022-11-19 | constify `exact_div` intrinsic | Lukas Markeffsky | -0/+5 | |
| 2022-11-19 | Rollup merge of #104593 - compiler-errors:rpitit-object-safety-spans, ↵ | Matthias Krüger | -1/+1 | |
| r=fee1-dead Improve spans for RPITIT object-safety errors No reason why we can't point at the `impl Trait` that causes the object-safety violation. Also [drive-by: Add is_async fn to hir::IsAsync](https://github.com/rust-lang/rust/pull/104593/commits/c4165f3a965e258531928180195637455299c6f3), which touches clippy too. | ||||
| 2022-11-19 | Rollup merge of #104411 - lcnr:bivariance-nll, r=compiler-errors | Dylan DPC | -60/+70 | |
| nll: correctly deal with bivariance fixes #104409 when in a bivariant context, relating stuff should always trivially succeed. Also changes the mir validator to correctly deal with higher ranked regions. r? types cc ``@RalfJung`` | ||||
| 2022-11-19 | drive-by: PolyExistentialPredicate | Michael Goulet | -1/+1 | |
| 2022-11-19 | drive-by: Add is_async fn to hir::IsAsync | Michael Goulet | -1/+1 | |
| 2022-11-18 | review feedback | Ralf Jung | -7/+7 | |
| 2022-11-18 | interpret: use Either over Result when it is not representing an error condition | Ralf Jung | -68/+82 | |
| 2022-11-17 | Rollup merge of #104483 - oli-obk:santa-clauses-make-goals, r=compiler-errors | Matthias Krüger | -1/+4 | |
| Convert predicates into Predicate in the Obligation constructor instead of having almost all callers do that. This reduces a bit of boilerplate, and also paves the way for my work towards https://github.com/rust-lang/compiler-team/issues/531 (as it makes it easier to accept both goals and clauses where right now it only accepts predicates). | ||||
| 2022-11-16 | fix #104390, fix ICE in in_operand for ty error | yukang | -1/+5 | |
| 2022-11-16 | Convert predicates into Predicate in the Obligation constructor | Oli Scherer | -1/+4 | |
| 2022-11-16 | cleanup and dedupe CTFE and Miri error reporting | Ralf Jung | -57/+79 | |
| 2022-11-15 | Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obk | bors | -25/+20 | |
| interpret: support for per-byte provenance Also factors the provenance map into its own module. The third commit does the same for the init mask. I can move it in a separate PR if you prefer. Fixes https://github.com/rust-lang/miri/issues/2181 r? `@oli-obk` | ||||
| 2022-11-15 | use `ocx` type relation routines | lcnr | -3/+3 | |
| 2022-11-15 | add comment about opaque types | lcnr | -0/+3 | |
| 2022-11-15 | mv utility methods into separate module | lcnr | -55/+65 | |
| 2022-11-15 | nll: correctly deal with bivariance | lcnr | -47/+44 | |
| 2022-11-14 | Rollup merge of #104356 - RalfJung:interpret-check-mplace, r=oli-obk | Matthias Krüger | -9/+9 | |
| interpret: make check_mplace public This helps avoid code duplication in https://github.com/rust-lang/miri/pull/2661. | ||||
| 2022-11-14 | Rollup merge of #104349 - rustaceanclub:master, r=oli-obk | Matthias Krüger | -1/+1 | |
| fix some typos in comments | ||||
| 2022-11-14 | assert that we are (de)seiralizing ProvenanceMap correctly | Ralf Jung | -2/+2 | |
| 2022-11-13 | interpret: make check_mplace public | Ralf Jung | -9/+9 | |
| 2022-11-13 | add is_sized method on Abi and Layout, and use it | Ralf Jung | -12/+12 | |
| 2022-11-13 | fix some typos in comments | cui fliter | -1/+1 | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | ||||
| 2022-11-08 | Rollup merge of #103865 - compiler-errors:fallback-has-occurred-tracking, ↵ | Dylan DPC | -2/+1 | |
| r=eholk Move `fallback_has_occurred` state tracking to `FnCtxt` Removes a ton of callsites that defaulted to `false` | ||||
| 2022-11-06 | move InitMask to its own module | Ralf Jung | -3/+3 | |
| 2022-11-06 | interpret: support for per-byte provenance | Ralf Jung | -22/+17 | |
| 2022-11-06 | Move fallback_has_occurred to FnCtxt | Michael Goulet | -2/+1 | |
| 2022-11-06 | Auto merge of #103975 - oli-obk:tracing, r=jackh726 | bors | -0/+3 | |
| Some tracing and comment cleanups Pulled out of https://github.com/rust-lang/rust/pull/101900 to see if that is the perf impact | ||||
| 2022-11-05 | Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 | Matthias Krüger | -27/+15 | |
| Use `TraitEngine` (by itself) less Replace `TraitEngine` in favor of `ObligationCtxt` or `fully_solve_*`, improving code readability. | ||||
| 2022-11-04 | Some tracing and comment cleanups | Oli Scherer | -0/+3 | |
| 2022-11-04 | Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr | Matthias Krüger | -5/+4 | |
| Improve use of ErrorGuaranteed and code cleanup Part of #103874 | ||||
| 2022-11-03 | remove 'delay_span_bug' following 'references_error' | yukang | -3/+2 | |
| 2022-11-02 | deprecate DelaySpanBugEmitted and use ErrorGuaranteed directly | yukang | -2/+2 | |
| 2022-11-02 | Use TraitEngine less | Michael Goulet | -27/+15 | |
| 2022-11-01 | Format dyn Trait better in type_name intrinsic | Michael Goulet | -10/+2 | |
| 2022-11-01 | Rollup merge of #103729 - RalfJung:align-of-val-packed, r=oli-obk | Dylan DPC | -1/+8 | |
| interpret: fix align_of_val on packed types Fixes https://github.com/rust-lang/miri/issues/2632 r? `@oli-obk` | ||||
| 2022-11-01 | Rollup merge of #103798 - RalfJung:type_name, r=oli-obk | Yuki Okushi | -9/+15 | |
| interpret: move type_name implementation to an interpreter-independent helper file This should avoid pinging rust-lang/miri each time that file changes, which is really not necessary. r? `@oli-obk` | ||||
| 2022-10-31 | interpret: move type_name implementation to an interpreter-independent ↵ | Ralf Jung | -9/+15 | |
| helper file | ||||
| 2022-10-31 | Rollup merge of #103603 - camsteffen:refactor-lang, r=oli-obk | Dylan DPC | -9/+11 | |
| Lang item cleanups Various cleanups related to lang items. | ||||
| 2022-10-30 | All verbosity checks in `PrettyPrinter` now go through ↵ | Sarthak Singh | -4/+7 | |
| `PrettyPrinter::should_print_verbose` | ||||
| 2022-10-29 | Simplify lang item groups | Cameron Steffen | -9/+11 | |
| 2022-10-29 | interpret: fix align_of_val on packed types | Ralf Jung | -1/+8 | |
| 2022-10-29 | Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors | Guillaume Gomez | -15/+8 | |
| Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions Functions in answer: - `Ty::is_freeze` - `Ty::is_sized` - `Ty::is_unpin` - `Ty::is_copy_modulo_regions` This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3 r? `@compiler-errors` | ||||
| 2022-10-28 | Auto merge of #102674 - CastilloDel:master, r=oli-obk | bors | -15/+14 | |
| Remove allow(rustc::potential_query_instability) in rustc_const_eval The use of FxHashMap has been replaced with FxIndexMap. Related to #84447 | ||||
