| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-23 | Auto merge of #63521 - newpavlov:redox_builder, r=pietroalbini | bors | -24/+20 | |
| Re-enable Redox builder (take 2) Closes: #63160 | ||||
| 2019-08-23 | Auto merge of #63808 - Rosto75:master, r=KodrAus | bors | -56/+54 | |
| A bunch of minor documentation tweaks and fixes. | ||||
| 2019-08-23 | `--bless` some tests due to message format change. | Mazdak Farrokhzad | -34/+34 | |
| 2019-08-23 | Fix `tidy` fallout due to `feature_gate.rs` refactoring. | Mazdak Farrokhzad | -1/+8 | |
| 2019-08-23 | syntax: move `feature_gate.rs`. | Mazdak Farrokhzad | -0/+0 | |
| 2019-08-23 | syntax: extract `check.rs`. | Mazdak Farrokhzad | -953/+960 | |
| 2019-08-23 | builtin_attrs.rs: retain FIXMEs. | Mazdak Farrokhzad | -2/+6 | |
| 2019-08-23 | builtin_attrs.rs: organize! | Mazdak Farrokhzad | -241/+259 | |
| 2019-08-23 | builtin_attrs.rs: cleanup with `(un)gated!`. | Mazdak Farrokhzad | -288/+229 | |
| 2019-08-23 | builtin_attrs.rs: refactor `rustc_attrs` entries. | Mazdak Farrokhzad | -233/+109 | |
| 2019-08-23 | builtin_attrs.rs: simplify `cfg_fn`. | Mazdak Farrokhzad | -8/+7 | |
| 2019-08-23 | syntax: extract `builin_attrs.rs`. | Mazdak Farrokhzad | -715/+732 | |
| 2019-08-23 | syntax: extract `active.rs` feature gates. | Mazdak Farrokhzad | -517/+525 | |
| 2019-08-23 | syntax: extract `removed.rs` feature gates. | Mazdak Farrokhzad | -77/+85 | |
| 2019-08-23 | syntax: extract `accepted.rs` feature gates. | Mazdak Farrokhzad | -231/+239 | |
| 2019-08-23 | Remove default macro transparencies | Vadim Petrochenkov | -35/+1 | |
| All transparancies are passed explicitly now. Also remove `#[rustc_macro_transparency]` annotations from built-in macros, they are no longer used. `#[rustc_macro_transparency]` only makes sense for declarative macros now. | ||||
| 2019-08-23 | Simplify eager normalization of constants | Oliver Scherer | -81/+13 | |
| 2019-08-23 | hygiene: Require passing transparency explicitly to `apply_mark` | Vadim Petrochenkov | -74/+66 | |
| 2019-08-23 | incremental: Do not rely on default transparency when decoding syntax contexts | Vadim Petrochenkov | -19/+27 | |
| Using `ExpnId`s default transparency here instead of the mark's real transparency was actually incorrect. | ||||
| 2019-08-23 | resolve: Do not rely on default transparency when detecting proc macro derives | Vadim Petrochenkov | -17/+9 | |
| 2019-08-23 | Audit uses of `apply_mark` in built-in macros | Vadim Petrochenkov | -41/+56 | |
| Replace them with equivalents of `Span::{def_site,call_site}` from proc macro API. The new API is much less error prone and doesn't rely on macros having default transparency. | ||||
| 2019-08-22 | Update single-use-lifetimes | Naja Melan | -1/+1 | |
| When using this, rustc emits a warning that the lint has been renamed (to having an 's' at the end) | ||||
| 2019-08-22 | Auto merge of #63522 - topecongiro:rustfmt-1.4.5, r=Centril | bors | -21/+6 | |
| Update rustfmt to 1.4.5 This update includes a bug fix that fixes generating invalid code when formatting an impl block with const generics inside a where clause. **Changes** https://github.com/rust-lang/rustfmt/compare/0462008de87d2757e8ef1dc26f2c54dd789a59a8...1de58ce46d64b1164a214dc0b7fb7c400576c3a6 | ||||
| 2019-08-22 | Do not suggest `.try_into()` on `i32::from(x)` | Esteban Küber | -0/+36 | |
| 2019-08-22 | Update occurences of as_slice | Sebastian Martinez | -1/+1 | |
| Update occurences of as_slice to as_str | ||||
| 2019-08-22 | Fix for 7e13679. | Tomasz Różański | -2/+2 | |
| 2019-08-22 | Rollup merge of #63805 - mati865:clippy, r=Centril | Mazdak Farrokhzad | -5/+4 | |
| Apply few Clippy suggestions Somewhat follow-up of https://github.com/rust-lang/rust/pull/62806 Changes per commit are rather small so I can squash them if that's preferred. | ||||
| 2019-08-22 | Rollup merge of #63796 - estebank:opaque_future, r=Centril | Mazdak Farrokhzad | -6/+62 | |
| Tweak E0308 on opaque types ``` error[E0308]: if and else have incompatible types --> file.rs:21:9 | 18 | / if true { 19 | | thing_one() | | ----------- expected because of this 20 | | } else { 21 | | thing_two() | | ^^^^^^^^^^^ expected opaque type, found a different opaque type 22 | | }.await | |_____- if and else have incompatible types | = note: expected type `impl std::future::Future` (opaque type) found type `impl std::future::Future` (opaque type) = note: distinct uses of `impl Trait` result in different opaque types = help: if both futures resolve to the same type, consider `await`ing on both of them ``` r? @Centril CC #63167 | ||||
| 2019-08-22 | Rollup merge of #63788 - mark-i-m:rustc-guide-toolstate-add, r=ehuss | Mazdak Farrokhzad | -1/+1 | |
| Add amanjeev to rustc-guide toolstate cc @amanjeev @spastorino r? @ehuss | ||||
| 2019-08-22 | Rollup merge of #63782 - GuillaumeGomez:theme-switch-fix, r=kinnison | Mazdak Farrokhzad | -14/+14 | |
| Fix confusion in theme picker functions To reproduce the bug currently: click on the theme picker button twice (to show it then hide it). Then click anywhere else: the dropdown menu appears again. The problem was coming from a confusion of what the `hideThemeButtonState` and `showThemeButtonState` were supposed to do. I switched their codes and updated the `switchThemeButtonState` function. It now works as expected. r? @kinnison | ||||
| 2019-08-22 | Rollup merge of #63767 - lzutao:integer-ord-suboptimal, r=nagisa | Mazdak Farrokhzad | -3/+33 | |
| Use more optimal Ord implementation for integers Closes #63758 r? @nagisa ### Compare results ([godbolt link](https://godbolt.org/z/dsbczy)) Old assembly: ```asm example::cmp1: mov eax, dword ptr [rdi] mov ecx, dword ptr [rsi] cmp eax, ecx setae dl add dl, dl add dl, -1 xor esi, esi cmp eax, ecx movzx eax, dl cmove eax, esi ret ``` New assembly: ```asm example::cmp2: mov eax, dword ptr [rdi] xor ecx, ecx cmp eax, dword ptr [rsi] seta cl mov eax, 255 cmovae eax, ecx ret ``` Old llvm-mca statistics: ``` Iterations: 100 Instructions: 1100 Total Cycles: 243 Total uOps: 1300 Dispatch Width: 6 uOps Per Cycle: 5.35 IPC: 4.53 Block RThroughput: 2.2 ``` New llvm-mca statistics: ``` Iterations: 100 Instructions: 700 Total Cycles: 217 Total uOps: 1100 Dispatch Width: 6 uOps Per Cycle: 5.07 IPC: 3.23 Block RThroughput: 1.8 ``` | ||||
| 2019-08-22 | Rollup merge of #63737 - HowJMay:fix_naming, r=jonas-schievink | Mazdak Farrokhzad | -16/+16 | |
| Fix naming misspelling Fixes #63734 | ||||
| 2019-08-22 | Rollup merge of #63624 - estebank:unreachable-macro, r=petrochenkov | Mazdak Farrokhzad | -16/+27 | |
| When declaring a declarative macro in an item it's only accessible inside it Fix #63164. r? @petrochenkov | ||||
| 2019-08-22 | Change variables names to be more consistent. | Tomasz Różański | -16/+16 | |
| Changed all instances of `c_str` into `cstr` in the documentation examples. This is also consistent with the module source code. | ||||
| 2019-08-22 | Make use of existing constants. | Tomasz Różański | -20/+18 | |
| f32::consts::PI / 2.0 -> f32::consts::FRAC_PI_2 f32::consts::PI / 4.0 -> f32::consts::FRAC_PI_4 f64::consts::PI / 2.0 -> f64::consts::FRAC_PI_2 f64::consts::PI / 4.0 -> f64::consts::FRAC_PI_4 | ||||
| 2019-08-22 | Change code formatting for readability. | Tomasz Różański | -20/+20 | |
| 2019-08-22 | Fix punctuation. | Tomasz Różański | -1/+1 | |
| 2019-08-22 | Remove redundant `mut`. | Tomasz Różański | -1/+1 | |
| 2019-08-22 | Fix formatting. | Tomasz Różański | -1/+1 | |
| 2019-08-22 | Fix a typo. | Tomasz Różański | -1/+1 | |
| 2019-08-22 | Changed tests | Wesley Wiser | -38/+17 | |
| 2019-08-22 | Handle statics in `Subst::subst()` by implementing `TypeFoldable` | Wesley Wiser | -28/+56 | |
| 2019-08-22 | Resolve PR comments | Wesley Wiser | -131/+81 | |
| 2019-08-22 | Remove unnecessary Option | Wesley Wiser | -5/+4 | |
| 2019-08-22 | Fix tidy | Wesley Wiser | -15/+39 | |
| 2019-08-22 | Move def_id out add substsref | Wesley Wiser | -96/+134 | |
| 2019-08-22 | Remove eval_promoted const-prop hack | Wesley Wiser | -26/+10 | |
| 2019-08-22 | Move promoted out of mir::Body | Wesley Wiser | -126/+253 | |
| 2019-08-22 | Move 'tcx lifetime on MirPass | Wesley Wiser | -48/+48 | |
| 2019-08-22 | Apply clippy::let_and_return suggestion | Mateusz Mikuła | -2/+1 | |
