mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Remove UnnecessaryUnsafe diagnostic, Fix Expr::Call unsafe analysis
This commit is contained in:
parent
b358fbfdf8
commit
499d4c454d
4 changed files with 22 additions and 70 deletions
|
@ -899,7 +899,7 @@ impl ast::LoopBodyOwner for LoopExpr {}
|
|||
impl LoopExpr {
|
||||
pub fn loop_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![loop]) }
|
||||
}
|
||||
/// Block expression with an optional prefix (label, try ketword,
|
||||
/// Block expression with an optional prefix (label, try keyword,
|
||||
/// unsafe keyword, async keyword...).
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue