| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-06-11 | Stop special casing top level TAIT | Matthew Jasper | -63/+31 | |
| 2020-06-09 | [AVR] Re-bless the UI tests | Dylan McKay | -3/+4 | |
| Patch generated with `./x.py test --stage 1 src/test/ui/feature-gates --bless`. | ||||
| 2020-06-09 | [AVR] Add AVR platform support | Jake Goulding | -0/+20 | |
| 2020-06-04 | test: ui: skip tests which aren't appropriate for RISC-V | Tom Eccles | -1/+3 | |
| 2020-05-31 | Clarify errors and warnings about the transition to the new asm! | Amanieu d'Antras | -4/+4 | |
| 2020-05-30 | Tweak type parameter errors to reduce verbosity | Esteban Küber | -7/+1 | |
| 2020-05-27 | Mark deduplicated errors as expected in gate test | LeSeulArtichaut | -0/+2 | |
| 2020-05-27 | Apply suggestions from code review | LeSeulArtichaut | -20/+27 | |
| 2020-05-27 | Add tests | LeSeulArtichaut | -0/+27 | |
| 2020-05-23 | Add test for #69415 | Yuki Okushi | -16/+19 | |
| 2020-05-20 | Add tests for `#[ffi_const]` and `#[ffi_pure]` function attributes | Matthias Schiffer | -0/+36 | |
| Based on the work of gnzlbg <gonzalobg88@gmail.com>. | ||||
| 2020-05-18 | Fix feature gate tests | Amanieu d'Antras | -10/+14 | |
| 2020-05-18 | Add tests for asm! | Amanieu d'Antras | -22/+4 | |
| 2020-05-16 | Fix issue number typo in note | Jonas Schievink | -1/+1 | |
| 2020-05-03 | Add more tests for cfg(version) | mibac138 | -3/+52 | |
| 2020-05-03 | Change cfg(version) error message wording | mibac138 | -6/+9 | |
| 2020-05-03 | Implement RFC 2523, `#[cfg(version(..))]` | mibac138 | -0/+121 | |
| 2020-04-30 | Rollup merge of #71205 - NeoRaider:check_attr, r=jonas-schievink | Dylan DPC | -10/+55 | |
| rustc: fix check_attr() for methods, closures and foreign functions This fixes an issue that previously turned up for methods in https://github.com/rust-lang/rust/pull/69274, but also exists for closures and foreign function: `check_attr` does not call `codegen_fn_attrs()` for these types when it should, meaning that incorrectly used function attributes are not diagnosed without codegen. The issue affects our UI tests, as they run with `--emit=metadata` by default, but as it turns out, this is not the only case: Function attributes are not checked on any dead code without this fix! This makes the fix a **breaking change**. The following very silly Rust programs compiles fine on stable Rust when it should not, which is fixed by this PR. ```rust fn main() { #[target_feature(enable = "sse2")] || {}; } ``` I assume any real-world program which may trigger this issue would at least emit a dead code warning, but of course that is no guarantee that such code does not exist... Fixes #70307 | ||||
| 2020-04-16 | rustc: fix check_attr() for methods, closures and foreign functions | Matthias Schiffer | -10/+55 | |
| UI tests are updated with additional error messages that were missing before. | ||||
| 2020-04-15 | Deprecate the asm! macro | Amanieu d'Antras | -4/+22 | |
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -1/+1 | |
| 2020-04-04 | Update the description of link_cfg unstable | Rustin-Liu | -1/+1 | |
| Fmt code Update tests Modify msg Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> | ||||
| 2020-04-02 | tests: remove ignore directives from tests that mention core/alloc/std spans. | Eduard-Mihai Burtescu | -6/+1 | |
| 2020-03-27 | Rollup merge of #70457 - Centril:non-exhaustive-scrutinee-type, r=estebank | Mazdak Farrokhzad | -0/+3 | |
| non-exhastive diagnostic: add note re. scrutinee type This fixes https://github.com/rust-lang/rust/issues/67259 by adding a note: ``` = note: the matched value is of type &[i32] ``` to non-exhaustive pattern matching errors. r? @varkor @estebank | ||||
| 2020-03-27 | non-exhastive diagnostic: add note re. scrutinee type | Mazdak Farrokhzad | -0/+3 | |
| 2020-03-26 | Update tests to use llvm_asm! | Amanieu d'Antras | -2/+22 | |
| 2020-03-26 | Rename asm! to llvm_asm! | Amanieu d'Antras | -2/+2 | |
| asm! is left as a wrapper around llvm_asm! to maintain compatibility. | ||||
| 2020-03-26 | create a tracking issue and link to it | Niko Matsakis | -1/+1 | |
| 2020-03-26 | introduce `negative_impls` feature gate and document | Niko Matsakis | -1/+1 | |
| They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits. | ||||
| 2020-03-24 | resolve: Remove `rustc_attrs` as a standalone feature gate | Vadim Petrochenkov | -9/+3 | |
| Now it only gates specific built-in attributes | ||||
| 2020-03-23 | Ignore tests on some platforms due to #53081 | Aaron Hill | -1/+6 | |
| 2020-03-22 | Store idents for `DefPathData` into crate metadata | Aaron Hill | -0/+5 | |
| Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for #68686, since throwing away a `Span` means that we lose hygiene information. | ||||
| 2020-03-12 | Rollup merge of #69722 - estebank:negative-impl-span-ast, r=Centril | Mazdak Farrokhzad | -2/+2 | |
| Tweak output for invalid negative impl AST errors Use more accurate spans for negative `impl` errors. r? @Centril | ||||
| 2020-03-10 | Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnison | Mazdak Farrokhzad | -16/+0 | |
| Remove spotlight I had a few comments saying that this feature was at best misunderstood or not even used so I decided to organize a poll about on [twitter](https://twitter.com/imperioworld_/status/1232769353503956994). After 87 votes, the result is very clear: it's not useful. Considering the amount of code we have just to run it, I think it's definitely worth it to remove it. r? @kinnison cc @ollie27 | ||||
| 2020-03-08 | Rollup merge of #69561 - JohnTitor:clean-up-unstable-book, r=Mark-Simulacrum | Mazdak Farrokhzad | -7/+0 | |
| Clean up unstable book - #58402's feature was renamed to `tidy_test_never_used_anywhere_else` and it is now used for tidy only - `read_initializer` link is wrong and the doc should be auto-generated so removed - Add dummy doc for `link_cfg` - Stop generating `compiler_builtins_lib` doc in favor of b8ccc0f8a60ac16fdc00f4b2e36e1a5db8b78295 - Make `rustc_attrs` tracking issue "None" | ||||
| 2020-03-04 | Tweak output for invalid negative impl AST errors | Esteban Küber | -2/+2 | |
| 2020-03-03 | Update tests | Yuki Okushi | -35/+0 | |
| 2020-03-01 | Make `rustc_attrs` tracking issue None | Yuki Okushi | -7/+0 | |
| 2020-02-27 | Remove "important traits" feature | Guillaume Gomez | -16/+0 | |
| 2020-02-19 | Tweak binding lifetime suggestion text | Esteban Küber | -1/+1 | |
| We already have a structured suggestion, but the wording made it seem like that wasn't the case. Fix #65286. r? @varkor | ||||
| 2020-02-14 | Update tests | Matthew Jasper | -3/+12 | |
| 2020-02-13 | ast_validation: tweak diagnostic output | Mazdak Farrokhzad | -18/+18 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -242/+242 | |
| 2020-02-07 | Rollup merge of #68164 - tmiasko:no-sanitize, r=nikomatsakis | Dylan DPC | -0/+16 | |
| Selectively disable sanitizer instrumentation Add `no_sanitize` attribute that allows to opt out from sanitizer instrumentation in an annotated function. | ||||
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+4 | |
| 2020-02-05 | Selectively disable sanitizer instrumentation | Tomasz Miąsko | -0/+16 | |
| Add `no_sanitize` attribute that allows to opt out from sanitizer instrumentation in an annotated function. | ||||
| 2020-02-02 | Use more appropriate spans on object unsafe traits and provide structured ↵ | Esteban Küber | -2/+5 | |
| suggestions when possible | ||||
| 2020-02-02 | Wording changes to object unsafe trait errors | Esteban Küber | -5/+21 | |
| Stemming from the thread at https://twitter.com/indygreg/status/1223279056398929920 | ||||
| 2020-02-02 | Slight rewording of diagnostic message | Esteban Küber | -2/+2 | |
| 2020-02-02 | Tweak `Self: Sized` restriction diagnostic output | Esteban Küber | -4/+0 | |
