John Kåre Alsaker
a1f2dceaeb
Move edition outside the hygiene lock and avoid accessing it
2019-05-21 18:17:05 +02:00
Alexander Regueiro
c3e182cf43
rustc: doc comments
2019-02-10 23:42:32 +00:00
Taiki Endo
7bb082d27f
libsyntax => 2018
2019-02-07 02:33:01 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
kennytm
0e41ef13aa
Rollup merge of #56516 - frewsxcv:frewsxcv-eq, r=Mark-Simulacrum
...
Replace usages of `..i + 1` ranges with `..=i`.
Before this change we were using old computer code techniques. After this change we use the new and improved computer code techniques.
2018-12-07 12:42:32 +08:00
Corey Farwell
c025d61409
Replace usages of ..i + 1 ranges with ..=i.
2018-12-04 12:05:19 -08:00
Shotaro Yamada
4e3128223b
Fix test
2018-12-04 09:28:14 +09:00
Philipp Hansch
09973d227d
Add some unit tests for find_best_match_for_name
...
There were only some UI tests that covered this function.
Since there's more diagnostic work going on, I think it makes
sense to have this unit tested.
2018-09-11 08:31:47 +02:00
Julian Kulesh
537f2a6e1e
move comparator into +find_best_match_name+ function
2017-12-01 00:39:47 +03:00
Andre Bogus
a9c163ebe9
Fix some clippy warnings in libsyntax
...
This is mostly removing stray ampersands, needless returns and lifetimes.
2017-05-12 20:05:39 +02:00
Jeffrey Seyfried
e85a0d70b8
Use Symbol instead of InternedString in the AST, HIR, and various other places.
2016-11-21 09:00:55 +00:00
Jeffrey Seyfried
d2f8fb0a0a
Move syntax::util::interner -> syntax::symbol, cleanup.
2016-11-20 23:40:20 +00:00
Ravi Shankar
51ff171948
Modify the Levenshtein-based suggestions to include imports
2015-12-16 16:33:24 +05:30
Florian Hartwig
4bb7cf11dc
Introduce max_suggestion_distance function to avoid duplicating the heuristic
2015-11-27 17:52:29 +01:00
Florian Hartwig
a5e5c67756
Add suggestion of similar macro names to macro undefined error message
2015-11-26 00:21:38 +01:00