Changelog #89
Commit: 5664a2b
Release: 2021-08-09
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#9752(first contribution) supportproc_macrodependencies inproject.json. -
#9785(first contribution) add struct literal completion:
-
#9814generate default code when converting#[derive(Debug)]to a manual implementation:
-
#9761show coerced types on hover:
-
#9800include suggested replacement in diagnostics:
-
#9810add "missing reference" diagnostic:
-
#9816implement "Convertiftobool::then" assist:
-
#9734addreferencesemantic highlighting modifier. -
#9806add support for the 1.56 nightly proc macro ABI. -
#9772filter out duplicate macro completions.
Fixes
-
#9771(first contribution) give better error message when therust-analyzerbinary path is invalid. -
#9801don’t publish diagnostics in crates.io or sysroot files. -
#9762fix ranged hover result range. -
#9764don’t use the module as the candidate node in fuzzy path flyimport. -
#9770downgradenotifyto fix building on NetBSD. -
#9773improve the "Extract function" assist. -
#9775handle ownership in "Extract function". -
#9786fix detection of macro files in the inactive code diagnostic. -
#9788don’t move locals defined outside loops in "Extract function". -
#9780supportexclusive_range_pattern. -
#9790handle generics correctly in "Extract type alias". -
#9794fix binders with baredyn Trait. -
#9808gather enum variants and associated trait functions when collecting lang items. -
#9812add!to macro completions with existing argument list. -
#9817increasechalkoverflow depth fortonic.
Internal Improvements
-
#9756makeresolve_doc_pathis to resolve to macros. -
#9757completion cleanups. -
#9758explain that we don’trefinstyle.md. -
#9759simplifyinline_local_variableassist. -
#9751makeLoadCargoConfig,fn load_workspace_atandfn load_workspacepublic again. -
#9765introduceTypeInfoto record coercions and other adjustments. -
#9793remove unused structs inide_db.