about summary refs log tree commit diff
path: root/src/test/ui/macros/macro_undefined.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-11/+0
2020-03-21Bless testsLeSeulArtichaut-6/+4
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-2/+7
Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method.
2019-09-15resolve: Remove `!` from "cannot find" diagnostics for macrosVadim Petrochenkov-1/+1
2019-07-18resolve: Visit all scopes to collect suggestion candidates for unresolved macrosVadim Petrochenkov-1/+1
2019-03-11Update testsVadim Petrochenkov-1/+1
2018-12-25Remove licensesMark Rousskov-1/+1
2018-08-17Stabilize `use_extern_macros`Vadim Petrochenkov-9/+1
2018-02-26Update UI testsVadim Petrochenkov-2/+2
2018-01-15Don't include bang in macro replacement suggestionRyan Cumming-1/+1
When we suggest the replacement for a macro we include the "!" in the suggested replacement but the span only contains the name of the macro itself. Using that replacement would cause a duplicate "!" in the resulting code. I originally tried to extend the span to be replaced by 1 byte in rust-lang/rust#47424. However, @zackmdavis pointed out that there can be whitespace between the macro name and the bang. Instead, just remove the bang from the suggested replacement. Fixes #47418
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-2/+2
2017-07-17Change some helps to suggestionsOliver Schneider-4/+2
2017-07-17Move some tests from compile-fail to uiOliver Schneider-0/+18