about summary refs log tree commit diff
path: root/src/test/ui/namespace
AgeCommit message (Collapse)AuthorLines
2020-04-08Small tweaks to required bound spanEsteban Küber-44/+44
2020-01-10Point at the span for the definition of crate foreign ADTsEsteban Küber-0/+10
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-0/+5
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-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+2
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-09-29Rollup merge of #64691 - estebank:unexpected-variant, r=CentrilMazdak Farrokhzad-0/+3
Point at definition when misusing ADT When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
2019-09-22On obligation errors point at the unfulfilled binding when possibleEsteban Küber-44/+44
2019-09-22Point at definition when misusing ADTEsteban Küber-0/+3
When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
2019-09-19When possible point at argument causing item obligation failureEsteban Küber-88/+88
2019-08-31Use span label instead of note for cause in E0631Esteban Küber-264/+132
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-03-15rustc: slice substs in ty::print instead of passing the full ones.Eduard-Mihai Burtescu-2/+2
2019-03-11Update testsVadim Petrochenkov-60/+60
2019-01-09clarify resolve typo suggestionAndy Russell-14/+20
Include the kind of the binding that we're suggesting, and use a structured suggestion.
2018-12-25Remove licensesMark Rousskov-150/+100
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-10-26Update testsOliver Scherer-4/+4
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+969