mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Fix new nightly lints
This commit is contained in:
parent
232432411e
commit
6c23f25e7f
24 changed files with 81 additions and 51 deletions
|
@ -154,7 +154,7 @@ impl<'db, DB> ops::Deref for Semantics<'db, DB> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'db, DB: HirDatabase> Semantics<'db, DB> {
|
||||
impl<DB: HirDatabase> Semantics<'_, DB> {
|
||||
pub fn new(db: &DB) -> Semantics<'_, DB> {
|
||||
let impl_ = SemanticsImpl::new(db);
|
||||
Semantics { db, imp: impl_ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue