about summary refs log tree commit diff
path: root/src/test/ui/attributes
AgeCommit message (Collapse)AuthorLines
2020-04-23Moving more build-pass tests to check-passVal Markovic-1/+1
One or two tests became build-pass without the FIXME because they really needed build-pass (were failing without it). Helps with #62277
2020-03-01Use `opt_def_id()` over `def_id()`Yuki Okushi-6/+8
2020-01-24Normalise notes with the/isvarkor-1/+1
2020-01-09Update testsVadim Petrochenkov-1/+14
2019-12-09resolve: Make visibility resolution more speculativeVadim Petrochenkov-10/+2
To avoid potential duplicate diagnostics and separate the error reporting logic
2019-12-09resolve: Resolve visibilities on fields with non-builtin attributesVadim Petrochenkov-0/+48
2019-11-24expand: Fully preserve visibilities on unnamed fields with attributesVadim Petrochenkov-0/+11
2019-11-24def_collector: Do not forget to save indices of fields with multiple attributesVadim Petrochenkov-0/+11
2019-11-09Address review commentsVadim Petrochenkov-0/+112
2019-11-09Support registering attributes and attribute tools using crate-level attributesVadim Petrochenkov-0/+74
2019-09-26hir: Disallow `target_feature` on constantsDavid Wood-0/+31
This commit fixes an ICE when `target_feature` is applied to constants. Signed-off-by: David Wood <david@davidtw.co>
2019-09-15resolve: Tweak "cannot find" wording for attributesVadim Petrochenkov-10/+10
2019-09-15Rollup merge of #64471 - Mark-Simulacrum:warn-depr-attr, r=CentrilMazdak Farrokhzad-2/+0
Warn on no_start, crate_id attribute use These attributes are now deprecated; they don't have any use anymore. `no_start` stopped being applicable in 3ee916e50bd86768cb2a9141f9b2c52d2601b412 as part of #18967. Ideally we would've removed it pre-1.0, but since that didn't happen let's at least mark it deprecated. `crate_id` was renamed to `crate_name` in 50ee1ec1b4f107122d8037ac7b0b312afa6eb0ac as part of #15319. Ideally we would've followed that up with a removal of crate_id itself as well, but that didn't happen; this PR finally marks it as deprecated at least. Fixes https://github.com/rust-lang/rust/issues/43142 and resolves https://github.com/rust-lang/rust/issues/43144.
2019-09-14Warn on no_start, crate_id attribute useMark Rousskov-2/+0
These attributes are now deprecated; they don't have any use anymore.
2019-09-14def_collector: Do not ICE on attributes on unnamed fieldsVadim Petrochenkov-0/+9
2019-09-08Improve wording.Charles Lew-2/+2
2019-07-18resolve: Use `feature(custom_attribute)` fallback only if the feature is enabledVadim Petrochenkov-30/+18
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-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-5/+5
https://github.com/rust-lang/rust/issues/60532
2019-07-05Rollup merge of #62133 - petrochenkov:norustc, r=eddybMazdak Farrokhzad-11/+9
Feature gate `rustc` attributes harder Fixes https://github.com/rust-lang/rust/issues/62116
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-8/+8
2019-06-30Make sure `#[rustc_doc_only_macro]` and other rustc attributes are registeredVadim Petrochenkov-11/+9
2019-06-09Address review commentsVadim Petrochenkov-0/+67
2019-06-08Move some run-pass attribute tests to uiVadim Petrochenkov-0/+392