aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-05-24 21:24:36 +0100
committerPaul Daniel Faria <[email protected]>2020-06-27 15:10:26 +0100
commit278cbf12cd0f76fc191d5ce7f130e6245596a578 (patch)
tree7c00307fbef82b45cbd0072a45819ea962bf8900 /crates/ra_syntax/src
parent3df0f9ce7e6eea48b67dae8b26e83aa7bd36ff24 (diff)
Track unsafe blocks, don't trigger missing unsafe diagnostic when unsafe exprs within unsafe block
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index a2366f997..58141da11 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -899,7 +899,7 @@ impl ast::LoopBodyOwner for LoopExpr {}
899impl LoopExpr { 899impl LoopExpr {
900 pub fn loop_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![loop]) } 900 pub fn loop_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![loop]) }
901} 901}
902/// Block expression with an optional prefix (label, try keyword, 902/// Block expression with an optional prefix (label, try ketword,
903/// unsafe keyword, async keyword...). 903/// unsafe keyword, async keyword...).
904/// 904///
905/// ``` 905/// ```