about summary refs log tree commit diff
path: root/src/test/ui/feature-gate
AgeCommit message (Collapse)AuthorLines
2018-05-01Remove `macro_reexport`Vadim Petrochenkov-267/+213
It's subsumed by `feature(use_extern_macros)` and `pub use`
2018-04-28stabilize `#[must_use]` for functions and must-use operatorsZack M. Davis-82/+73
This is in the matter of RFC 1940 and tracking issue #43302.
2018-04-27Allow #[inline] on closuresAmanieu d'Antras-18/+18
Fixes #49632
2018-04-15don't see issue #0Zack M. Davis-0/+27
The unstable-feature attribute requires an issue (neglecting it is E0547), which gets used in the error messages. Unfortunately, there are some cases where "0" is apparently used a placeholder where no issue exists, directing the user to see the (nonexistent) issue #0. (It would have been better to either let `issue` be optional—compare to how issue is an `Option<u32>` in the feature-gate declarations in libsyntax/feature-gate.rs—or actually require that an issue be created.) Rather than endeavoring to change how `#[unstable]` works at this time (given competing contributor and reviewer priorities), this simple patch proposes the less-ambitious solution of just not adding the "(see issue)" note when the number is zero. Resolves #49983.
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-1/+1
2018-03-16Update testsJohn Kåre Alsaker-0/+4
2018-03-14Add backticks to `main` not found errors.Eric Huss-6/+6
2018-03-14Add suggestion where to add main function.Eric Huss-0/+4
2018-03-14Add empty main() to tests where it is missing.Eric Huss-27/+20
2018-03-14Add crate name to "main function not found" error message.Eric Huss-8/+8
Fixes #44798 and rust-lang/cargo#4948.
2018-03-14update testsGuillaume Gomez-9/+9
2018-02-26Update UI testsVadim Petrochenkov-1/+1
2018-02-26Update UI testsVadim Petrochenkov-883/+883
2018-02-25Update ui testsGuillaume Gomez-0/+9
2018-02-17fix more typos found by codespell.Matthias Krüger-1/+1
2018-01-13rustc: Refactor attribute checking to operate on HIRAlex Crichton-2/+2
This'll enable running queries that could be cached and overall be more amenable to the query infastructure.
2018-01-07Remove deprecated unstable attribute `#[simd]`Robin Kruppe-466/+411
The `#[simd]` attribute has been deprecated since c8b6d5b23cc8b2d43ece9f06252c7e98280fb8e5 back in 2015. Any nightly crates using it have had ample time to switch to `#[repr(simd)]`, and if they didn't they're likely broken by now anyway.
2018-01-03Only bump error count when we are sure that the diagnostic is not a repetition.Rafael Fernández López-3/+3
This ensures that if we emit the same diagnostic twice, the error count will match the real number of errors shown to the user. Fixes #42106
2017-12-09Resolve type on return type suggestionEsteban Küber-1/+1
2017-12-07Migrate a few feature gate tests to uiest31-0/+2947
Renames only in this commit, and obviously .stderr file additions.