summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2023-02-27 13:17:29 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2023-03-12 13:19:46 +0000
commit0932452fa40178b6f8b93a2bab3b4ead4e2bb560 (patch)
tree640a6f9236a494096b535bffd7bbb30f1f62318e /compiler/rustc_ast/src/util
parentdd7df04e168324fc002ab4985b6c7513f08ccf49 (diff)
downloadrust-0932452fa40178b6f8b93a2bab3b4ead4e2bb560.tar.gz
rust-0932452fa40178b6f8b93a2bab3b4ead4e2bb560.zip
Remove `box_syntax` from AST and use in tools
Diffstat (limited to 'compiler/rustc_ast/src/util')
-rw-r--r--compiler/rustc_ast/src/util/classify.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/util/classify.rs b/compiler/rustc_ast/src/util/classify.rs
index cdc244c1218..607b77705cf 100644
--- a/compiler/rustc_ast/src/util/classify.rs
+++ b/compiler/rustc_ast/src/util/classify.rs
@@ -35,7 +35,6 @@ pub fn expr_trailing_brace(mut expr: &ast::Expr) -> Option<&ast::Expr> {
             | Assign(_, e, _)
             | AssignOp(_, _, e)
             | Binary(_, _, e)
-            | Box(e)
             | Break(_, Some(e))
             | Let(_, e, _)
             | Range(_, Some(e), _)