about summary refs log tree commit diff
path: root/src/test/ui/span/issue-7575.stderr
AgeCommit message (Collapse)AuthorLines
2019-04-23Update ui testsvarkor-8/+8
2018-12-25Remove licensesMark Rousskov-8/+8
2018-05-29Fix typoEsteban Küber-1/+1
2018-05-28Add primary span labelEsteban Küber-3/+4
2018-05-28Only suggest assoc fn when sure about the typeEsteban Küber-6/+2
2018-05-27Use suggestion for assoc fn called like methodEsteban Küber-8/+11
When encountering an unexisting method for a given trait where an associated function has the same name, suggest using the appropriate syntax, instead of using `help` text. When only one candidate is found, do not call it "candidate #1", just call it "the candidate".
2018-03-14update testsGuillaume Gomez-1/+1
2018-02-26Update UI testsVadim Petrochenkov-9/+9
2018-02-25Update ui testsGuillaume Gomez-0/+1
2017-12-19Use def span for associated function suggestionsEsteban Küber-8/+4
2017-12-14Remove NOTE/HELP annotations from UI testsVadim Petrochenkov-8/+8
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-1/+1
2017-11-15Point to ADT definition when not finding variant, method, assoc typeEsteban Küber-0/+3
2017-08-14Add help for static method invalid useGuillaume Gomez-0/+3
2017-07-08Remove more anonymous trait method parametersVadim Petrochenkov-6/+6
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-06-04Separate suggestion in a `help` and a `note`Esteban Küber-2/+4
2017-06-02Use multiline note for trait suggestionEsteban Küber-4/+4
2017-05-27Add new error codes and update testsGuillaume Gomez-3/+3
2017-05-24Change error count messagesMichael Kohl-1/+1
See #33525 for details.
2017-04-20Reduce visual clutter of multiline start when possibleEsteban Küber-6/+4
When a span starts on a line with nothing but whitespace to the left, and there are no other annotations in that line, simplify the visual representation of the span. Go from: ```rust error[E0072]: recursive type `A` has infinite size --> file2.rs:1:1 | 1 | struct A { | _^ starting here... 2 | | a: A, 3 | | } | |_^ ...ending here: recursive type has infinite size | ``` To: ```rust error[E0072]: recursive type `A` has infinite size --> file2.rs:1:1 | 1 | / struct A { 2 | | a: A, 3 | | } | |_^ recursive type has infinite size ``` Remove `starting here...`/`...ending here` labels from all multiline diagnostics.
2017-01-12E0034: provide disambiguated syntax for candidatesEsteban Küber-0/+67
For a given file ```rust trait A { fn foo(&self) {} } trait B : A { fn foo(&self) {} } fn bar<T: B>(a: &T) { a.foo() } ``` provide the following output ``` error[E0034]: multiple applicable items in scope --> file.rs:6:5 | 6 | a.foo(1) | ^^^ multiple `foo` found | note: candidate #1 is defined in the trait `A` --> file.rs:2:11 | 2 | trait A { fn foo(&self, a: usize) {} } | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to use it here write `A::foo(&a, 1)` instead --> file.rs:6:5 | 6 | a.foo(1) | ^^^ note: candidate #2 is defined in the trait `B` --> file.rs:3:15 | 3 | trait B : A { fn foo(&self, a: usize) {} } | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to use it here write `B::foo(&a, 1)` instead --> file.rs:6:5 | 6 | a.foo(1) | ^^^ ```