mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-26 09:49:15 +00:00
Fix clippy lints in proc-macro-srv
This commit is contained in:
parent
c9314d4aff
commit
8a86fa01ac
6 changed files with 12 additions and 11 deletions
|
|
@ -97,7 +97,7 @@ fn assert_expand_impl(
|
|||
|
||||
pub(crate) fn list() -> Vec<String> {
|
||||
let dylib_path = proc_macro_test_dylib_path();
|
||||
let env = EnvSnapshot::new();
|
||||
let env = EnvSnapshot::default();
|
||||
let mut srv = ProcMacroSrv::new(&env);
|
||||
let res = srv.list_macros(&dylib_path).unwrap();
|
||||
res.into_iter().map(|(name, kind)| format!("{name} [{kind:?}]")).collect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue