about summary refs log tree commit diff
path: root/src/test/ui/resolve
AgeCommit message (Collapse)AuthorLines
2017-01-20Rollup merge of #39168 - estebank:multiline-candidate, r=petrochenkovAlex Crichton-20/+20
Use multiline Diagnostic for candidate in other module ``` error[E0574]: expected struct, variant or union type, found enum `Result` --> $DIR/issue-16058.rs:19:9 | 19 | Result { | ^^^^^^ not a struct, variant or union type | = help: possible better candidates are found in other modules, you can import them into scope: `use std::fmt::Result;` `use std::io::Result;` `use std::thread::Result;` error: aborting due to previous error ```
2017-01-18Use multiline Diagnostic for candidate in other moduleEsteban Küber-20/+20
2017-01-17Teach Diagnostics to highlight textEsteban Küber-1/+1
2017-01-13resolve: Levenshtein-based suggestions for non-import pathsVadim Petrochenkov-3/+92
2017-01-12resolve: Do not use "resolve"/"resolution" in error messagesVadim Petrochenkov-109/+109
2017-01-07Teach diagnostics to have correctly padded listsEsteban Küber-3/+3
Make the suggestion list have a correct padding: ``` error[E0308]: mismatched types --> file.rs:3:20 | 3 | let x: usize = ""; | ^^ expected usize, found reference | = note: expected type `usize` = note: found type `&'static str` = help: here are some functions which might fulfill your needs: - .len() - .foo() - .bar() ```
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-240/+277
2016-12-26Move some compile-fail tests into UI directoryVadim Petrochenkov-0/+1953