| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-03-15 | More precise spans for HIR paths | Vadim Petrochenkov | -1/+1 | |
| 2021-03-14 | expand: Resolve and expand inner attributes on out-of-line modules | Vadim Petrochenkov | -0/+10 | |
| 2020-11-22 | resolve: Do not put macros into `module.unexpanded_invocations` unless necessary | Vadim Petrochenkov | -12/+12 | |
| 2020-11-19 | expand: Tell built-in macros whether we are currently in forced expansion mode | Vadim Petrochenkov | -8/+2 | |
| 2020-11-03 | Expand `NtExpr` tokens only in key-value attributes | Vadim Petrochenkov | -1/+13 | |
| 2020-07-26 | report kind of deprecated item in message | Andy Russell | -8/+8 | |
| This is important for fields, which are incorrectly referred to as "items". | ||||
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -0/+2 | |
| 2020-03-10 | builtin_macros: Add attribute macro `#[cfg_accessible(path)]` | Vadim Petrochenkov | -0/+186 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -3/+3 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+4 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -2/+2 | |
| 2019-12-06 | cfg_attr: avoid .outer_tokens | Mazdak Farrokhzad | -7/+73 | |
| 2019-11-02 | Update error annotations in tests that successfully compile | Tomasz Miąsko | -1/+1 | |
| Those annotation are silently ignored rather than begin validated against compiler output. Update them before validation is enabled, to avoid test failures. | ||||
| 2019-09-16 | Rollup merge of #64467 - Mark-Simulacrum:hide-cfg-failures, r=estebank | Mazdak Farrokhzad | -0/+5 | |
| Hide diagnostics emitted during --cfg parsing The early error is more than sufficient for fixing the problem. Fixes https://github.com/rust-lang/rust/issues/31496. | ||||
| 2019-09-15 | Hide diagnostics emitted during --cfg parsing | Mark Rousskov | -0/+5 | |
| The early error is more than sufficient for fixing the problem. | ||||
| 2019-09-15 | resolve: Tweak "cannot find" wording for attributes | Vadim Petrochenkov | -12/+12 | |
| 2019-09-14 | Provide a span if main function is not present in crate | Mark Rousskov | -2/+7 | |
| Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note. | ||||
| 2019-09-09 | Resolve attributes in several places | Caio | -39/+25 | |
| Arm, Field, FieldPat, GenericParam, Param, StructField and Variant | ||||
| 2019-08-23 | `--bless` some tests due to message format change. | Mazdak Farrokhzad | -6/+8 | |
| 2019-07-19 | Auto merge of #62684 - petrochenkov:scopevisit, r=davidtwco | bors | -6/+3 | |
| resolve: Improve candidate search for unresolved macro suggestions Use same scope visiting machinery for both collecting suggestion candidates and actually resolving the names. The PR is better read in per-commit fashion with whitespace changes ignored (the first commit in particular moves some code around). This should be the last pre-requisite for https://github.com/rust-lang/rust/pull/62086. r? @davidtwco | ||||
| 2019-07-18 | resolve: Use `feature(custom_attribute)` fallback only if the feature is enabled | Vadim Petrochenkov | -6/+3 | |
| Normally `#![feature(...)]` shouldn't change behavior, but custom attributes in particular are in the process of retirement, and we should not produce a message telling to enable them. It also helps with unifying diagnostics for unresolved macros. | ||||
| 2019-07-17 | normalize use of backticks in compiler messages for librustc/lint | Samy Kacimi | -2/+2 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-13 | review comments | Esteban Küber | -1/+1 | |
| 2019-07-13 | Tweak wording in feature gate errors | Esteban Küber | -6/+6 | |
| 2019-07-09 | normalize use of backticks in compiler messages for libsyntax/feature_gate | Samy Kacimi | -9/+9 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -2/+2 | |
| 2019-06-23 | Auto merge of #61778 - petrochenkov:pass, r=Mark-Simulacrum | bors | -4/+3 | |
| compiletest: Introduce `// {check,build,run}-pass` pass modes Pass UI tests now have three modes ``` // check-pass // build-pass // run-pass ``` mirroring equivalent well-known `cargo` commands. `// check-pass` will compile the test skipping codegen (which is expensive and isn't supposed to fail in most cases). `// build-pass` will compile and link the test without running it. `// run-pass` will compile, link and run the test. Tests without a "pass" annotation are still considered "fail" tests. Most UI tests would probably want to switch to `check-pass`. Tests validating codegen would probably want to run the generated code as well and use `run-pass`. `build-pass` should probably be rare (linking tests?). https://github.com/rust-lang/rust/pull/61755 will provide a way to run the tests with any mode, e.g. bump `check-pass` tests to `run-pass` to satisfy especially suspicious people, and be able to make sure that codegen doesn't breaks in some entirely unexpected way. Tests marked with any mode are expected to pass with any other mode, if that's not the case for some legitimate reason, then the test should be made a "fail" test rather than a "pass" test. Perhaps some secondary CI can verify this invariant, but that's not super urgent. `// compile-pass` still works and is equivalent to `build-pass`. Why is `// compile-pass` bad - 1) it gives an impression that the test is only compiled, but not linked, 2) it doesn't mirror a cargo command. It can be removed some time in the future in a separate PR. cc https://github.com/rust-lang/rust/issues/61712 | ||||
| 2019-06-22 | Add test for linting on 'cfg_attr(,)'. | Mazdak Farrokhzad | -0/+34 | |
| 2019-06-19 | Support `cfg` and `cfg_attr` on generic parameters | Vadim Petrochenkov | -0/+104 | |
| 2019-06-16 | compiletest: Remove `skip-codegen` | Vadim Petrochenkov | -4/+3 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+1 | |
| 2019-04-14 | fix tests | Ralf Jung | -0/+12 | |
| 2019-04-11 | Reword tracking issue note | Esteban Küber | -4/+4 | |
| 2019-04-10 | Tweak unstable diagnostic output | Esteban Küber | -4/+8 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -24/+24 | |
| 2019-03-06 | Surround found token with ` | Esteban Küber | -2/+2 | |
| 2019-03-05 | On incorrect cfg literal/identifier, point at the right span | Esteban Küber | -2/+2 | |
| 2019-01-13 | Implement basic input validation for built-in attributes | Vadim Petrochenkov | -5/+6 | |
| 2019-01-08 | bless you | dylan_DPC | -2/+2 | |
| 2019-01-08 | remove unwanted stage0 line, fix style | dylan_DPC | -7/+5 | |
| 2019-01-08 | remove unused imports and feature gate from tests | dylan_DPC | -7/+5 | |
| 2019-01-08 | stabilise cfg_attr | dylan_DPC | -5/+3 | |
| 2019-01-06 | Make sure feature gate errors are recoverable (take 2) | Vadim Petrochenkov | -8/+8 | |
| 2018-12-27 | Do not abort compilation if expansion produces errors | Vadim Petrochenkov | -0/+4 | |
| Fix a number of uncovered deficiencies in diagnostics | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -114/+8 | |
| 2018-11-07 | Removed `#[rustc_error]` from tests that are all `// compile-pass`. | Felix S. Klock II | -15/+4 | |
| I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.) | ||||
| 2018-10-26 | Auto merge of #54929 - csmoe:cfg_lint, r=petrochenkov | bors | -9/+19 | |
| Suggest to remove prefix `b` in cfg attribute lint string Closes #54926 r? @estebank | ||||
| 2018-10-23 | fix typos in various places | Matthias Krüger | -1/+1 | |
| 2018-10-23 | add expected error comment | Esteban Kuber | -1/+1 | |
| Co-Authored-By: csmoe <csmoe@msn.com> | ||||
| 2018-10-23 | add expected error comment | Esteban Kuber | -1/+1 | |
| Co-Authored-By: csmoe <csmoe@msn.com> | ||||
