about summary refs log tree commit diff
path: root/src/test/ui/proc-macro
AgeCommit message (Collapse)AuthorLines
2019-01-12Fix a hole in generic parameter import future-proofingVadim Petrochenkov-4/+33
Add some tests for buggy derive helpers
2018-12-31Improve type mismatch error messagesYuning Zhang-1/+1
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
2018-12-28Auto merge of #57155 - petrochenkov:dcrate3, r=dtolnaybors-0/+113
Resolve `$crate`s for pretty-printing at more appropriate time Doing it in `BuildReducedGraphVisitor` wasn't a good idea, identifiers wasn't actually visited half of the time. As a result some `$crate`s weren't resolved and were therefore pretty-printed as `$crate` literally, which turns into two tokens during re-parsing of the pretty-printed text. Now we are visiting and resolving `$crate` identifiers in an item right before sending that item to a proc macro attribute or derive. Fixes https://github.com/rust-lang/rust/issues/57089
2018-12-28Resolve `$crate`s for pretty-printing at more appropriate timeVadim Petrochenkov-27/+12
2018-12-28Add test demonstrating disintegration of `$crate` into `$` and `crate`Vadim Petrochenkov-0/+128
2018-12-27Fix rebase and more CI failuresVadim Petrochenkov-34/+34
2018-12-27Do not abort compilation if expansion produces errorsVadim Petrochenkov-8/+126
Fix a number of uncovered deficiencies in diagnostics
2018-12-25Remove licensesMark Rousskov-1030/+180
2018-12-20Workaround issues with crate loading during cross-compilationVadim Petrochenkov-3/+9
2018-12-19Do not interpret mismatches from pretty-printed `$crate` as token stream ↵Vadim Petrochenkov-58/+44
invalidation
2018-12-19Reintroduce special pretty-printing for `$crate` when it's necessary for ↵Vadim Petrochenkov-8/+341
proc macros
2018-12-19proc_macro: Accept `$crate` as an identifier if it comes from the compilerVadim Petrochenkov-0/+28
2018-12-09Fix rebase + Add missing `// force-host`Vadim Petrochenkov-3/+4
2018-12-09Move some tests from ui-fulldeps to uiVadim Petrochenkov-0/+43
2018-12-09Move former compile-fail-fulldeps tests to uiVadim Petrochenkov-0/+2150
2018-12-04Update ui testsOliver Scherer-15/+16
2018-11-30tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests.Eduard-Mihai Burtescu-25/+49
2018-11-30tests: move all proc_macro tests from -fulldeps.Eduard-Mihai Burtescu-0/+2450