about summary refs log tree commit diff
path: root/src/test/ui/resolve/issue-2356.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-134/+0
2022-10-26suggest calling the method of the same name when method not foundyukang-2/+2
2022-10-05Delay function resolution error until typeckMichael Goulet-45/+45
2022-05-05suggest calling `Self::associated_function()`Takayuki Maeda-0/+10
do not suggest when trait_ref is some Update compiler/rustc_resolve/src/late/diagnostics.rs Co-authored-by: lcnr <rust@lcnr.de> use helper struct add a test for functions with some params refactor debug log
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2020-10-26Suggest calling associated `fn` inside `trait`sEsteban Küber-3/+3
When calling a function that doesn't exist inside of a trait's associated `fn`, and another associated `fn` in that trait has that name, suggest calling it with the appropriate fully-qualified path. Expand the label to be more descriptive. Prompted by the following user experience: https://users.rust-lang.org/t/cannot-find-function/50663
2020-08-13Suggest adding `&self` when accessing `self` in static assoc `fn`Esteban Küber-14/+13
2020-06-07Free `default()` forwarding to `Default::default()`Ilya Bobyr-1/+10
When creating default values a trait method needs to be called with an explicit trait name. `Default::default()` seems redundant. A free function on the other hand, when imported directly, seems to be a better API, as it is just `default()`. When implementing the trait, a method is still required.
2019-10-17Point at enclosing function without `self` receiverEsteban Küber-4/+14
2019-10-17Refer to "associated functions" instead of "static methods"Esteban Küber-2/+2
2019-04-18review comments: change wordingEsteban Küber-2/+2
2019-04-18Change suggestion of field when not in self contextEsteban Küber-9/+3
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2018-12-25Remove licensesMark Rousskov-17/+17
2018-09-23Improve error message for E0424Julian Kulesh-4/+4
2018-03-14update testsGuillaume Gomez-2/+2
2018-02-26Update UI testsVadim Petrochenkov-20/+20
2018-02-25Update ui testsGuillaume Gomez-0/+2
2017-12-14Remove NOTE/HELP annotations from UI testsVadim Petrochenkov-39/+39
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-32/+32
2017-07-18reorder span labelsgaurikholkar-2/+2
2017-07-17Change some helps to suggestionsOliver Schneider-6/+6
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-05-24Change error count messagesMichael Kohl-1/+1
See #33525 for details.
2017-01-12resolve: Do not use "resolve"/"resolution" in error messagesVadim Petrochenkov-24/+24
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-41/+39
2016-12-26Move some compile-fail tests into UI directoryVadim Petrochenkov-0/+112