summary refs log tree commit diff
path: root/src/test/ui/tool-attributes
AgeCommit message (Collapse)AuthorLines
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