Changelog #79
Commit: f438398
Release: 2021-05-31
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#8955
add support for stand-alone Rust files: -
#8988
,#8990
support "Go to implementations" on trait functions and associated constants: -
#8942
,#8996
addlibrary
semantic token modifier to items from other crates. -
#8767
,#9028
implement range formatting (requires nightlyrustfmt
). -
#9012
add tab stops for keyword completions. -
#9027
make attribute completion is context aware.
Fixes
-
#8995
create tasks for all workspaces (VS Code only): -
#9038
add folding range for return types: -
#8968
(first contribution) fix binary installation instructions. -
#8967
(first contribution) fix cursor position after move item command. -
#8994
(first contribution) check for subdirectories in VFS loader exclusions. -
#9051
(first contribution) fix swapped config descriptions. -
#8959
fix downloading the server binary on Windows again. -
#9046
makeinclude!
and other eager macros work in expression position. -
#8970
duplicate dependencies that have multipleDepKinds
. -
#8975
usetodo!()
as placeholder body for generated match arms. -
#8983
fix type mismatch caused by macros. -
#8986
add "Go to type definition" for struct fields within struct. -
#8989
try to fix type inference for the newTry
trait. -
#8987
fix lowering ofFnOnce()
without return type. -
#8991
consider trait to be in scope for trait impls. -
#8993
don’t showpd
/ppd
completions where they shouldn’t be. -
#9008
remove undesired completions from trait/impl blocks. -
#9026
complete modules in associated item lists. -
#9033
complete keywords in(Assoc)ItemList
with leading attribute. -
#9059
only complete derive proc macros in#[derive]
. -
#9064
fix incorrectprefer_inner
calls on some attribute completions. -
#9020
don’t complete non-macro item paths in impls and modules. -
#9032
only complete modules in empty use-statements. -
#9054
fixmatches!
macro on nightly toolchains. -
#9050
hir_ty
: use async ret type for inference inside async bodies. -
#9065
hir_ty
: don’t pass where clauses of associated types down tochalk
.
Internal Improvements
-
#8973
move diagnostics tohir
. -
#8965
internTypeBound
andGenericArgs
. -
#8978
internAttrInput
. -
#9017
reduce the number of traits passed throughchalk
during applicable trait lookup. -
#8976
renamehypothetical
tospeculative
. -
#8977
minorTokenMap
cleanups. -
#9007
fix someclippy::redundant_clone
warnings. -
#9068
move moreCompletionContext
fields toImmediateLocation
-
#9015
merge pattern completion related bools into an enum. -
#9016
setrecord_pat_syntax
more precisely inCompletionContext
. -
#9041
implement previous sibling determination forCompletionContext
. -
#9021
explain the motivation behind early configuration. -
#8997
stop expandingUseTrees
duringItemTree
lowering. -
#9024
don’t store supertraits inItemTree
. -
#9036
remove undocumentedTextDocumentSyncKind::Full
support. -
#9048
add some lint completion tests. -
#9057
thread proc macro types through the HIR.