| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-29 | Rollup merge of #78475 - RalfJung:validity-comment, r=oli-obk | Yuki Okushi | -2/+1 | |
| fix a comment in validity check A few things changed since that comment was written; update it to the current reality. r? @oli-obk | ||||
| 2020-10-28 | fix a comment in validity check | Ralf Jung | -2/+1 | |
| 2020-10-26 | interning cleanup: we no longer need to distinguish Const and ConstInner; we ↵ | Ralf Jung | -2/+6 | |
| no longer need the ignore_interior_mut_in_const hack | ||||
| 2020-10-26 | move &mut-in-const check from interning to validation | Ralf Jung | -1/+9 | |
| 2020-10-26 | move UnsafeCell-in-const check from interning to validation | Ralf Jung | -29/+45 | |
| 2020-10-21 | Miri engine validity check: simplify code with 'matches!' | Ralf Jung | -12/+8 | |
| and improve a comment a bit | ||||
| 2020-09-19 | Address review comments | Oliver Scherer | -17/+17 | |
| 2020-09-19 | Validate constants during `const_eval_raw` | Oliver Scherer | -8/+10 | |
| 2020-09-04 | Change ty.kind to a method | LeSeulArtichaut | -7/+7 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -12/+16 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+922 | |
