| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-23 | Stabilize futures_api | Taylor Cramer | -1/+1 | |
| 2019-04-23 | Update ui tests | varkor | -3/+3 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -2/+0 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -2/+1 | |
| 2019-03-12 | resolve: Simplify import resolution for mixed 2015/2018 edition mode | Vadim Petrochenkov | -57/+7 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -31/+31 | |
| 2019-02-27 | Rollup merge of #58678 - doctorn:refuse-async-fn-2015-edition, r=varkor | Mazdak Farrokhzad | -0/+92 | |
| Deny `async fn` in 2015 edition This commit prevents code using `async fn` from being compiled in Rust 2015 edition. Compiling code of the form: ```rust async fn foo() {} ``` Will now result in the error: ``` error[E0670]: `async fn` is not permitted in the 2015 edition --> async.rs:1:1 | 1 | async fn foo() {} | ^^^^^ error: aborting due to error For more information about an error, try `rustc --explain E0670`. ``` This resolves #58652 and also resolves #53714. r? @varkor | ||||
| 2019-02-24 | Deny `async fn` in 2015 edition | Nathan Corbyn | -0/+92 | |
| Fix style issues and update diagnostic messages Update src/librustc_passes/diagnostics.rs Co-Authored-By: doctorn <me@nathancorbyn.com> Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition | ||||
| 2019-01-17 | Deny the `overflowing_literals` lint for all editions | Oliver Middleton | -16/+0 | |
| 2019-01-12 | Stabilize `uniform_paths` | Vadim Petrochenkov | -6/+2 | |
| 2019-01-12 | resolve: Prohibit use of uniform paths in macros originating from 2015 edition | Vadim Petrochenkov | -1/+1 | |
| ...while still keeping ambiguity errors future-proofing for uniform paths. This corner case is not going to be stabilized for 1.32 and needs some more general experiments about retrofitting 2018 import rules to 2015 edition | ||||
| 2018-12-31 | Address review comments | Esteban Küber | -6/+6 | |
| - Suggest raw ident escaping in all editions - Keep primary label in all cases | ||||
| 2018-12-31 | Suggest using raw identifiers in 2018 edition when using keywords | Esteban Küber | -6/+30 | |
| 2018-12-27 | Fix rebase and more CI failures | Vadim Petrochenkov | -4/+6 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -2/+16 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -193/+23 | |
| 2018-11-27 | Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakis | bors | -14/+24 | |
| Point at end of macro arm when encountering EOF Fix #52866. | ||||
| 2018-11-27 | resolve: Suggest `crate::` for resolving ambiguities when appropriate | Vadim Petrochenkov | -13/+15 | |
| More precise spans for ambiguities from macros | ||||
| 2018-11-27 | resolve: Fallback to extern prelude in 2015 imports used from global 2018 ↵ | Vadim Petrochenkov | -15/+39 | |
| edition | ||||
| 2018-11-27 | resolve: Fallback to uniform paths in 2015 imports used from global 2018 edition | Vadim Petrochenkov | -2/+88 | |
| 2018-11-27 | resolve: Implement edition hygiene for imports and absolute paths | Vadim Petrochenkov | -0/+106 | |
| Use per-span hygiene in a few other places in resolve Prefer `rust_2015`/`rust_2018` helpers to comparing editions | ||||
| 2018-11-23 | Reword EOF in macro arm message | Esteban Küber | -2/+2 | |
| 2018-11-23 | Keep label on moved spans and point at macro invocation on parse error | Esteban Küber | -2/+12 | |
| 2018-11-23 | Reword incorrect macro invocation primary label | Esteban Küber | -8/+8 | |
| 2018-11-23 | Point at end of macro arm when encountering EOF | Esteban Küber | -6/+6 | |
| Fix #52866 | ||||
| 2018-10-23 | Point at macro definition when no rules expect token | Esteban Küber | -8/+8 | |
| 2018-09-28 | Auto merge of #54338 - orium:fix-macro-inc-comp, r=nrc | bors | -2/+2 | |
| Use full name to identify a macro in a `FileName`. Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097. r? @nrc | ||||
| 2018-09-23 | add test for edition 2018 | csmoe | -0/+26 | |
| 2018-09-19 | Use full name to identify a macro in a `FileName`. | Diogo Sousa | -2/+2 | |
| Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097. | ||||
| 2018-08-29 | Generalize `async_idents` to all new keywords | Alex Crichton | -4/+4 | |
| This commit generalizes the existing `async_idents` lint to easily encompass other identifiers that will be keywords in future editions. The new lint is called `keyword_idents` and the old `async_idents` lint is registered as renamed to this new lint. As a proof of concept the `try` keyword was added to this list as it looks to be listed as a keyword in the 2018 edition only. The `await` keyword was not added as it's not listed as a keyword yet. Closes #53077 | ||||
| 2018-08-20 | Removed `raw_identifiers` feature gate. | Alexander Regueiro | -13/+5 | |
| 2018-08-16 | tests: prefer edition: directives to compile-flags:--edition. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-08-16 | syntax: also warn about edition "umbrella" features being implied by --edition. | Eduard-Mihai Burtescu | -1/+23 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+545 | |
