summary refs log tree commit diff
path: root/src/test/ui/fn
AgeCommit message (Collapse)AuthorLines
2020-05-08Skip tests on emscriptenYuki Okushi-0/+1
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+10
2020-04-18Make Box<dyn FnOnce> respect self alignmentSantiago Pastorino-0/+24
2020-04-08Small tweaks to required bound spanEsteban Küber-1/+1
2020-02-03Tweak borrow error on `FnMut` when `Fn` is expectedEsteban Küber-9/+8
2019-11-25Auto merge of #66682 - estebank:fn-type-err, r=davidtwcobors-10/+10
Highlight parts of fn in type errors When a type error arises between two fn items, fn pointers or tuples, highlight only the differing parts of each. Examples: <img width="699" alt="" src="https://user-images.githubusercontent.com/1606434/69487597-ab561600-0e11-11ea-9b4e-d4fd9e91d5dc.png"> <img width="528" alt="" src="https://user-images.githubusercontent.com/1606434/69487207-9033d800-0e0a-11ea-93e3-8c4d002411a5.png"> <img width="468" alt="" src="https://user-images.githubusercontent.com/1606434/69487208-9033d800-0e0a-11ea-92e3-2b2cee120335.png"> <img width="775" alt="" src="https://user-images.githubusercontent.com/1606434/69487209-9033d800-0e0a-11ea-9e68-7f6ed5c8cb08.png">
2019-11-23Highlight parts of fn in type errorsEsteban Küber-10/+10
When a type error arises between two fn items, fn pointers or tuples, highlight only the differing parts of each.
2019-11-21Point at type in `let` assignment on type errorsEsteban Küber-3/+9
2019-11-21Auto merge of #66389 - estebank:type-err-labels, r=petrochenkovbors-34/+34
Specific labels when referring to "expected" and "found" types
2019-11-18Surround types with backticks in type errorsEsteban Küber-8/+8
2019-11-18review comments: tweak prefix stringsEsteban Küber-9/+9
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-20/+20
2019-11-18Update ui testsGuillaume Gomez-0/+1
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+1
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-09-22On obligation errors point at the unfulfilled binding when possibleEsteban Küber-1/+1
2019-09-19When possible point at argument causing item obligation failureEsteban Küber-2/+2
2019-08-31Use span label instead of note for cause in E0631Esteban Küber-5/+3
2019-05-29Update ui test suite to use dynmemoryruins-9/+9
2019-04-22update tests for migrate mode by defaultMatthew Jasper-20/+6
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-4/+2
2019-04-17Do not mention missing `PartialOrd` impl when involving uncalled fnsEsteban Küber-2/+0
2019-04-12add the logic for when other_ty is FnDefrchaser53-0/+8
2019-04-12improve error messagesrchaser53-5/+2
2019-04-07Improvement for comparision against fnrchaser53-2/+5
2019-03-27Better diagnostic for binary operation on BoxedValueshgallagher1993-2/+4
2018-12-25Remove licensesMark Rousskov-66/+16
2018-08-15update recently moved testsEsteban Küber-5/+3
2018-08-15When closure with no arguments was expected, suggest wrappingEsteban Küber-1/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+274