about summary refs log tree commit diff
path: root/src/test/ui/tool-attributes
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-130/+0
2020-03-01Make `rustc_attrs` tracking issue NoneYuki Okushi-1/+0
2020-02-09--bless --compare-mode=nllMatthias Prechtl-1/+1
2020-01-09Update testsVadim Petrochenkov-5/+12
2019-10-16update ui testsGuillaume Gomez-1/+2
2019-09-15resolve: Remove `!` from "cannot find" diagnostics for macrosVadim Petrochenkov-2/+2
2019-09-15resolve: Tweak "cannot find" wording for attributesVadim Petrochenkov-2/+2
2019-09-14Provide a span if main function is not present in crateMark Rousskov-7/+3
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-08Improve wording.Charles Lew-1/+1
2019-08-30Update testsOliver Scherer-2/+2
2019-08-30Add a "diagnostic item" schemeOliver Scherer-0/+32
This allows lints and other diagnostics to refer to items by a unique ID instead of relying on whacky path resolution schemes that may break when items are relocated.
2019-07-18resolve: Use `feature(custom_attribute)` fallback only if the feature is enabledVadim Petrochenkov-12/+8
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-11resolve/expand: Catch macro kind mismatches early in resolveVadim Petrochenkov-6/+6
This way we are processing all of them in a single point, rather than separately for each syntax extension kind. Also, the standard expected/found wording is used.
2019-07-11resolve/expand: `resolve_macro_invocation` no longer returns determinate errorsVadim Petrochenkov-4/+4
It either returns the indeterminacy error, or valid (but perhaps dummy) `SyntaxExtension`. With this change enum `Determinacy` is no longer used in libsyntax and can be moved to resolve. The regressions in diagnosics are fixed in the next commits.
2019-07-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-1/+1
https://github.com/rust-lang/rust/issues/60532
2019-06-08Remove some more `#![feature(custom_attribute)]`sVadim Petrochenkov-11/+20
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-2/+1
2019-03-11Update testsVadim Petrochenkov-9/+9
2018-12-25Remove licensesMark Rousskov-39/+9
2018-11-18resolve: Avoid sentence breaks in diagnosticsVadim Petrochenkov-4/+4
2018-08-23Stabilize a few secondary macro featuresVadim Petrochenkov-8/+4
`tool_attributes`, `proc_macro_path_invoc`, partially `proc_macro_gen`
2018-08-17Stabilize `use_extern_macros`Vadim Petrochenkov-52/+0
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+177