| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-01-16 | Auto merge of #80290 - RalfJung:less-intrinsic-write, r=lcnr | bors | -21/+0 | |
| implement ptr::write without dedicated intrinsic This makes `ptr::write` more consistent with `ptr::write_unaligned`, `ptr::read`, `ptr::read_unaligned`, all of which are implemented in terms of `copy_nonoverlapping`. This means we can also remove `move_val_init` implementations in codegen and Miri, and its special handling in the borrow checker. Also see [this Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/ptr.3A.3Aread.20vs.20ptr.3A.3Awrite). | ||||
| 2021-01-01 | Allow references to interior mutable data behind a feature gate | oli | -5/+11 | |
| 2020-12-31 | remove move_val_init leftovers | Ralf Jung | -21/+0 | |
| 2020-09-29 | Bless tests | Dylan MacKenzie | -4/+4 | |
| 2020-09-23 | Bless tests | Dylan MacKenzie | -7/+7 | |
| 2020-09-22 | Bless tests | Dylan MacKenzie | -2/+2 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -3/+3 | |
| 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-07-01 | Insert NoDelim groups around nonterminals when lowering macro_rules | Aaron Hill | -0/+16 | |
| 2020-06-19 | Remove the const_raw_ptr_comparison feature gate. | Oliver Scherer | -8/+8 | |
| We can never supply a meaningful implementation of this. Instead, the follow up commits will create two intrinsics that approximate comparisons: * `ptr_maybe_eq` * `ptr_maybe_ne` The fact that `ptr_maybe_eq(a, b)` is not necessarily the same value as `!ptr_maybe_ne(a, b)` is a symptom of this entire problem. | ||||
| 2020-05-27 | Add tests for packed borrows in unsafe fns | LeSeulArtichaut | -82/+140 | |
| 2020-05-27 | Fix and bless tests | LeSeulArtichaut | -21/+168 | |
| 2020-05-27 | Add more cases to the test | LeSeulArtichaut | -2/+28 | |
| 2020-05-27 | Apply suggestions from code review | LeSeulArtichaut | -2/+23 | |
| 2020-05-27 | Add tests | LeSeulArtichaut | -0/+55 | |
| 2020-05-26 | Rollup merge of #72401 - ecstatic-morse:issue-72394, r=eddyb | Dylan DPC | -0/+24 | |
| Use correct function for detecting `const fn` in unsafety checking Resolves #72394. | ||||
| 2020-05-20 | Add regression test for #72394 | Dylan MacKenzie | -0/+24 | |
| 2020-05-19 | Remove dangling COPYRIGHT references | Tamir Duberstein | -5/+1 | |
| Missed in 2a663555ddf36f6b041445894a8c175cd1bc718c. | ||||
| 2020-03-10 | more reuse in block parsing & improve diagnostics. | Mazdak Farrokhzad | -3/+4 | |
| 2020-02-13 | parser: fuse free `fn` parsing together. | Mazdak Farrokhzad | -3/+3 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -2/+2 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -1/+1 | |
| 2019-11-23 | Highlight parts of fn in type errors | Esteban Küber | -6/+6 | |
| When a type error arises between two fn items, fn pointers or tuples, highlight only the differing parts of each. | ||||
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -6/+6 | |
| 2019-11-06 | Remove "here" from "expected one of X here" | Esteban Küber | -1/+1 | |
| 2019-07-06 | normalize use of backticks/lowercase in compiler messages for librustc_mir | Samy Kacimi | -2/+2 | |
| https://github.com/rust-lang/rust/issues/60532 r? @alexreg | ||||
| 2019-04-23 | Auto merge of #60125 - estebank:continue-evaluating, r=oli-obk | bors | -2/+4 | |
| Don't stop evaluating due to errors before borrow checking r? @oli-obk Fix #60005. Follow up to #59903. Blocked on #53708, fixing the ICE in `src/test/ui/consts/match_ice.rs`. | ||||
| 2019-04-22 | Never stop due to errors before borrow checking | Esteban Küber | -2/+4 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -17/+17 | |
| 2019-02-14 | Update const fn tests | varkor | -3/+8 | |
| 2019-01-09 | const fn feature gate is not needed anymore in a lot of tests | Oliver Scherer | -16/+15 | |
| 2019-01-09 | Stabilize `let` bindings and destructuring in constants and const fn | Oliver Scherer | -3/+3 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -123/+12 | |
| 2018-12-18 | Fix string for raw pointer deref suggestion | varkor | -1/+3 | |
| 2018-12-18 | Replace "native pointer" in error message with "raw pointer" | varkor | -1/+1 | |
| 2018-12-04 | Add and update tests | Oliver Scherer | -22/+5 | |
| 2018-12-04 | Add tests for stable unsafe features in const fn | Oliver Scherer | -0/+158 | |
| 2018-12-04 | Also prevent mutation fields directly | Oliver Scherer | -10/+30 | |
| 2018-12-04 | Also make immutable references to non-freeze restricted value range types unsafe | Oliver Scherer | -0/+22 | |
| 2018-12-04 | generalize the message about the creation of layout restricted types | Oliver Scherer | -1/+1 | |
| 2018-12-04 | Trailing newlines again | Oliver Scherer | -2/+2 | |
| 2018-12-04 | Forbid the creation of mutable borrows to fields of layout constrained types | Oliver Scherer | -0/+39 | |
| 2018-10-05 | Stabilize `min_const_fn` | Oliver Schneider | -3/+1 | |
| 2018-08-31 | Restrict most uses of `const_fn` to `min_const_fn` | Oliver Schneider | -1/+1 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+353 | |
