aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/raw_string.rs
Commit message (Collapse)AuthorAgeFilesLines
* Handle associated type shorthand (`T::Item`)Florian Diebold2019-09-221-370/+370
| | | | | | | | | | | | This is only allowed for generic parameters (including `Self` in traits), and special care needs to be taken to not run into cycles while resolving it, because we use the where clauses of the generic parameter to find candidates for the trait containing the associated type, but the where clauses may themselves contain instances of short-hand associated types. In some cases this is even fine, e.g. we might have `T: Trait<U::Item>, U: Iterator`. If there is a cycle, we'll currently panic, which isn't great, but better than overflowing the stack...
* feat(assists): Apply commentsGeobert Quach2019-09-191-100/+59
|
* feat(assists): Rename `escape_quote` to `escape_double_quote`Geobert Quach2019-09-191-3/+3
|
* feature(assists): Fix regressionGeobert Quach2019-09-191-2/+2
|
* feat(assists): manage `"` when removing hash and make_usual_stringGeobert Quach2019-09-191-5/+90
|
* feat(assists): raw string <-> usual string manipulationGeobert Quach2019-09-191-0/+326
Fixes #1730