| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-23 | Stabilize futures_api | Taylor Cramer | -1/+1 | |
| 2019-04-05 | Future-proof the Futures API | Taylor Cramer | -2/+2 | |
| 2019-04-01 | Allow closure to unsafe fn coercion | Taiki Endo | -0/+5 | |
| 2019-03-20 | Fix a bug in implied bounds | scalexm | -0/+28 | |
| 2019-02-03 | Apply review suggestions and fix tests | Matthias Einwag | -2/+2 | |
| 2019-01-09 | Stabilize `let` bindings and destructuring in constants and const fn | Oliver Scherer | -1/+1 | |
| 2018-12-31 | Rename and fix nolink-with-link-args test | Mika Lehtinen | -13/+12 | |
| There are three problems with the nolink-with-link-args test: * The test fails when using MSVC. It's caused by the `linker-flavor=ld` flag which was added in #46291. * In its comment, this test tests that "link_args are indeed passed when nolink is specified", but the `nolink` attribute has been removed [a long time ago](https://github.com/rust-lang/rust/pull/12826). * Pattern has a small typo. At first I was going to completely remove this test, but there is [a closed pull request for that](https://github.com/rust-lang/rust/pull/21090). So: * rename the file as suggested in the closed PR * adjust the comment * fix typo in the pattern * add `ignore-msvc`. | ||||
| 2018-12-27 | Auto merge of #56999 - petrochenkov:macrecov2, r=estebank | bors | -0/+25 | |
| AST/HIR: Introduce `ExprKind::Err` for better error recovery in the front-end This way we can avoid aborting compilation if expansion produces errors and generate `ExprKind::Err`s instead. | ||||
| 2018-12-27 | Add tests | scalexm | -0/+96 | |
| 2018-12-27 | Address review comments and CI failures | Vadim Petrochenkov | -0/+25 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -310/+0 | |
| 2018-12-21 | Stabilize Pin | Taylor Cramer | -1/+1 | |
| 2018-12-18 | Auto merge of #56160 - oli-obk:const_fn_let, r=nikomatsakis | bors | -3/+1 | |
| Fix various aspects around `let` bindings inside const functions * forbid `let` bindings in const contexts that use short circuiting operators * harden analysis code against derefs of mutable references Initially this PR was about stabilizing `let` bindings, but too many flaws were exposed that need some more testing on nightly | ||||
| 2018-12-15 | Rollup merge of #56677 - aelred:must-use-on-traits, r=estebank | Pietro Albini | -0/+47 | |
| #[must_use] on traits in stdlib Based on #55506. Adds `#[must_use]` attribute to traits in the stdlib: - `Iterator` - `Future` - `FnOnce` - `Fn` - `FnMut` There may be other traits that should have the attribute, but I couldn't find/think of any. | ||||
| 2018-12-14 | Auto merge of #56351 - davidtwco:issue-55396-stabilize-linker-flavor, r=nagisa | bors | -2/+2 | |
| Stabilize `linker-flavor` flag. Part of #55396. This commit moves the linker-flavor flag from a debugging option to a codegen option, thus stabilizing it. There are no feature flags associated with this flag. r? @nagisa | ||||
| 2018-12-13 | Stabilize `linker-flavor` flag. | David Wood | -2/+2 | |
| This commit moves the linker-flavor flag from a debugging option to a codegen option, thus stabilizing it. There are no feature flags associated with this flag. | ||||
| 2018-12-10 | Add trailing newline | Felix Chapman | -1/+1 | |
| 2018-12-10 | Add test to check library traits have #[must_use] attribute | Felix Chapman | -0/+47 | |
| 2018-12-09 | Move former compile-fail-fulldeps tests to ui | Vadim Petrochenkov | -1534/+0 | |
| 2018-12-07 | Unsupport `#[derive(Trait)]` sugar for `#[derive_Trait]` legacy plugin ↵ | Vadim Petrochenkov | -1/+1 | |
| attributes | ||||
| 2018-11-30 | Fix a compile-fail test | Oliver Scherer | -1/+1 | |
| 2018-11-30 | Update compile-fail test | Oliver Scherer | -2/+0 | |
| 2018-11-30 | tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests. | Eduard-Mihai Burtescu | -2/+25 | |
| 2018-11-30 | tests: move all proc_macro tests from -fulldeps. | Eduard-Mihai Burtescu | -0/+1511 | |
| 2018-11-22 | Reword and fix test | Esteban Küber | -3/+1 | |
| 2018-11-16 | adjust remaining tests | Ralf Jung | -0/+2 | |
| 2018-11-15 | Auto merge of #54906 - qnighy:fix-issue-50452, r=nikomatsakis | bors | -0/+32 | |
| Reattach all grandchildren when constructing specialization graph. Specialization graphs are constructed by incrementally adding impls in the order of declaration. If the impl being added has its specializations in the graph already, they should be reattached under the impl. However, the current implementation only reattaches the one found first. Therefore, in the following specialization graph, ``` Tr1 | I3 / \ I1 I2 ``` If `I1`, `I2`, and `I3` are declared in this order, the compiler mistakenly constructs the following graph: ``` Tr1 / \ I3 I2 | I1 ``` This patch fixes the reattach procedure to include all specializing grandchildren-to-be. Fixes #50452. | ||||
| 2018-10-27 | Auto merge of #54183 - qnighy:by-value-object-safety, r=oli-obk | bors | -72/+0 | |
| Implement by-value object safety This PR implements **by-value object safety**, which is part of unsized rvalues #48055. That means, with `#![feature(unsized_locals)]`, you can call a method `fn foo(self, ...)` on trait objects. One aim of this is to enable `Box<FnOnce>` in the near future. The difficulty here is this: when constructing a vtable for a trait `Foo`, we can't just put the function `<T as Foo>::foo` into the table. If `T` is no larger than `usize`, `self` is usually passed directly. However, as the caller of the vtable doesn't know the concrete `Self` type, we want a variant of `<T as Foo>::foo` where `self` is always passed by reference. Therefore, when the compiler encounters such a method to be generated as a vtable entry, it produces a newly introduced instance called `InstanceDef::VtableShim(def_id)` (that wraps the original instance). the shim just derefs the receiver and calls the original method. We give different symbol names for the shims by appending `::{{vtable-shim}}` to the symbol path (and also adding vtable-shimness as an ingredient to the symbol hash). r? @eddyb | ||||
| 2018-10-25 | Rebase fallout | Oliver Schneider | -2/+1 | |
| 2018-10-25 | Report const eval error inside the query | Oliver Schneider | -3/+3 | |
| 2018-10-24 | Move compile-fail/unsized-locals under ui as per #44844. | Masaki Hara | -102/+0 | |
| 2018-10-24 | Add tests for unsized-locals. | Masaki Hara | -0/+30 | |
| 2018-10-08 | Reattach all grandchildren when constructing specialization graph. | Masaki Hara | -0/+32 | |
| This commit fixes the issue #50452. | ||||
| 2018-10-05 | Stabilize `min_const_fn` | Oliver Schneider | -1/+0 | |
| 2018-10-03 | Move platform dependent output ui tests to compile-fail | Oliver Schneider | -0/+48 | |
| 2018-09-07 | stabilize `#[panic_handler]` | Jorge Aparicio | -2/+0 | |
| 2018-08-31 | Restrict most uses of `const_fn` to `min_const_fn` | Oliver Schneider | -1/+1 | |
| 2018-08-23 | add #[panic_handler]; deprecate #[panic_implementation] | Jorge Aparicio | -6/+6 | |
| 2018-08-19 | Lift some Sized checks. | Masaki Hara | -0/+72 | |
| 2018-08-14 | Moved problematic tests on x86_64-gnu-nopt back to compile-fail. | David Wood | -0/+30 | |
| 2018-08-14 | Moved problematic tests on x86_64-pc-windows-gnu back to compile-fail. | David Wood | -0/+122 | |
| 2018-08-14 | Moved problematic tests on armhf-gnu back to compile-fail. | David Wood | -0/+41 | |
| 2018-08-14 | Moved problematic tests on wasm32-unknown back to compile-fail. | David Wood | -0/+48 | |
| 2018-08-14 | Moved problematic tests on dist-x86_64-musl back to compile-fail. | David Wood | -0/+105 | |
| 2018-08-14 | Moved problematic tests on i586-unknown-linux-gnu back to compile-fail. | David Wood | -0/+14 | |
| 2018-08-14 | Normalize tests for i686 Windows. | David Wood | -0/+65 | |
| 2018-08-14 | Moved problematic tests on Windows back to compile-fail. | David Wood | -0/+117 | |
| 2018-08-14 | Moved tests back to compile-test if they don't work on ui. | David Wood | -0/+91 | |
| 2018-08-14 | Moved compile-fail tests to ui tests. | David Wood | -61897/+0 | |
| 2018-08-14 | rustc_resolve: fix special-case for one-segment import paths. | Eduard-Mihai Burtescu | -12/+12 | |
