| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-19 | Add and update more tests | Oliver Scherer | -1/+28 | |
| 2019-06-19 | Make interning explicitly care about types and the mutability of memory | Oliver Scherer | -0/+160 | |
| 2019-06-17 | Make use of `ptr::null(_mut)` instead of casting zero | Lzu Tao | -5/+5 | |
| 2019-06-16 | Auto merge of #61347 - Centril:stabilize-underscore_const_names, r=petrochenkov | bors | -6/+35 | |
| Stabilize underscore_const_names in 1.37.0 You are now permitted to write: ```rust const _: $type_expression = $term_expression; ``` That is, we change the [grammar of items](https://github.com/rust-lang-nursery/wg-grammar/blob/9d1984d7ae8d6576f943566539a31a5800644c57/grammar/item.lyg#L3-L42), as written in [the *`.lyg`* notation](https://github.com/rust-lang/gll/tree/263bf161dad903e67aa65fc591ced3cab18afa2a#grammar), from: ```java Item = attrs:OuterAttr* vis:Vis? kind:ItemKind; ItemKind = | ... | Const:{ "const" name:IDENT ":" ty:Type "=" value:Expr ";" } | ... ; ``` into: ```java Item = attrs:OuterAttr* vis:Vis? kind:ItemKind; ItemKind = | ... | Const:{ "const" name:IdentOrUnderscore ":" ty:Type "=" value:Expr ";" } | ... ; IdentOrUnderscore = | Named:IDENT | NoName:"_" ; ``` r? @petrochenkov | ||||
| 2019-06-16 | Auto merge of #60730 - matthewjasper:optimize-false-edges, r=pnkfelix | bors | -20/+42 | |
| Optimize matches Attempt to fix or improve #60571 This is breaking some diagnostics because the MIR for match arms isn't in source order any more. cc @centril | ||||
| 2019-06-16 | compiletest: Remove `skip-codegen` | Vadim Petrochenkov | -4/+1 | |
| 2019-06-16 | compiletest: Validate pass modes harder | Vadim Petrochenkov | -2/+0 | |
| 2019-06-13 | Create fewer basic blocks in match MIR lowering | Matthew Jasper | -20/+42 | |
| 2019-06-12 | Handle index out of bound errors during const eval without panic | Esteban Küber | -0/+30 | |
| 2019-06-11 | Rollup merge of #61518 - czipperz:const-fn-doc-disallow-loops, r=Centril | Mazdak Farrokhzad | -13/+13 | |
| Add loops to doc list of things not stable in const fn Closes #61508 | ||||
| 2019-06-10 | Stabilize underscore_const_names. | Mazdak Farrokhzad | -6/+35 | |
| 2019-06-09 | Reword const fn conditional and loop error text | Chris Gregory | -13/+13 | |
| 2019-06-07 | Rollup merge of #61532 - wesleywiser:const_prop_more, r=oli-obk | Mazdak Farrokhzad | -0/+12 | |
| [const-prop] Support Rvalue::{Ref,Len} and Deref Also fixes an ICE I found in testing. r? @oli-obk ~~The final commit is just for a perf run. I'll remove it after that is completed.~~ | ||||
| 2019-06-06 | Bless test output | Wesley Wiser | -0/+12 | |
| 2019-06-06 | Make constructors actually be const functions | Matthew Jasper | -0/+212 | |
| 2019-06-05 | Rollup merge of #61536 - oli-obk:args_required_const_in_const_fn, r=eddyb | Mazdak Farrokhzad | -0/+26 | |
| Don't allow using const fn arguments as "args_required_const" r? @eddyb | ||||
| 2019-06-05 | Explain the existience of the regression test | Oliver Scherer | -2/+11 | |
| 2019-06-05 | Don't allow using const fn arguments as "args_required_const" | Oliver Scherer | -0/+17 | |
| 2019-06-04 | Remove unneeded feature attr from atomic integers doctests | Lzu Tao | -2/+0 | |
| 2019-05-31 | Stabilize reverse_bits feature | Lzu Tao | -9/+7 | |
| 2019-05-29 | Auto merge of #61203 - memoryruins:bare_trait_objects, r=Centril | bors | -28/+28 | |
| Warn on bare_trait_objects by default The `bare_trait_objects` lint is set to `warn` by default. Most ui tests have been updated to use `dyn` to avoid creating noise in stderr files. r? @Centril cc #54910 | ||||
| 2019-05-29 | bless you | Ralf Jung | -1/+1 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -28/+28 | |
| 2019-05-28 | Make sure array length diagnostic doesn't regress | varkor | -3/+7 | |
| 2019-05-28 | Correct pluralisation of tuple/array/associated type binding mismatch errors | varkor | -2/+2 | |
| 2019-05-28 | Reintroduce `TypeError::FixedArraySize` | varkor | -2/+2 | |
| 2019-05-28 | Use Display rather than Debug printing for const mismatch | varkor | -2/+2 | |
| 2019-05-28 | Update tests after pretty printing | varkor | -2/+2 | |
| 2019-05-28 | Eagerly evaluate in `super_relate_consts` | varkor | -2/+2 | |
| 2019-05-25 | Update nll ui tests | Oliver Scherer | -1/+1 | |
| 2019-05-25 | Update ui tests | Oliver Scherer | -1/+1 | |
| 2019-05-21 | Add FAQ for NLL migration | Jethro Beekman | -0/+4 | |
| 2019-05-19 | Rollup merge of #60370 - Richard-W:const-layout-construction, r=sfackler | Mazdak Farrokhzad | -0/+21 | |
| Mark core::alloc::Layout::from_size_align_unchecked const Makes it possible (pending stabilization of #57563 (`const_fn`)) to rewrite code like ```rust const BUFFER_SIZE: usize = 0x2000; const BUFFER_ALIGN: usize = 0x1000; fn foo() { let layout = std::alloc::Layout::from_size_align(BUFFER_SIZE, BUFFER_ALIGN) .unwrap(); let buffer = std::alloc::alloc(layout); } ``` to ```rust const BUFFER_LAYOUT: std::alloc::Layout = unsafe { std::alloc::Layout::from_size_align_unchecked(0x2000, 0x1000) }; fn foo() { let buffer = std::alloc::alloc(BUFFER_LAYOUT); } ``` which (although `unsafe` is used) looks somewhat cleaner and is easier to read. | ||||
| 2019-05-14 | Add ui test for const Layout::from_size_align_unchecked | Richard Wiedenhöft | -0/+21 | |
| 2019-05-12 | Remove feature(nll) when compare mode is sufficient | Matthew Jasper | -12/+2 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -0/+390 | |
| 2019-05-07 | compiletest: only use `make_exe_name` for tests that end up being executed. | Eduard-Mihai Burtescu | -2/+0 | |
| 2019-05-02 | Fix failing test | Wesley Wiser | -0/+1 | |
| 2019-05-02 | Remove the `self.mir` field from `ConstPropagator` | Wesley Wiser | -3/+9 | |
| 2019-04-23 | Stabilize futures_api | Taylor Cramer | -1/+2 | |
| 2019-04-23 | Add rustc_allow_const_fn_ptr | Taylor Cramer | -0/+62 | |
| 2019-04-23 | Rollup merge of #60169 - varkor:tidy-unnecessary-ignore-newline, r=kennytm | Mazdak Farrokhzad | -3/+1 | |
| Warn when ignore-tidy-linelength is present, but no lines are too long It's easy for a `// ignore-tidy-linelength` to be added when there is a genuine need to ignore a file's line length, but then after refactoring the need is gone, but the tidy directive is not removed. This means that in the future, further editing may accidentally add unnecessarily long lines. This change forces `// ignore-tidy-linelength` to be used exactly when necessary, to make sure such changes are intentional. | ||||
| 2019-04-23 | Update ui tests | varkor | -1/+1 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -2/+0 | |
| 2019-04-23 | Auto merge of #60125 - estebank:continue-evaluating, r=oli-obk | bors | -69/+176 | |
| 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 | Fix ICE related to #53708 | Esteban Küber | -13/+21 | |
| 2019-04-22 | Never stop due to errors before borrow checking | Esteban Küber | -65/+164 | |
| 2019-04-22 | Update ui tests | varkor | -2/+2 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -9/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -1152/+349 | |
