Skip to content

Commit 506532a

Browse files
The sym crate is not a thing
1 parent 46420c9 commit 506532a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn true_significant_drop_ty<'tcx>(
186186
debug!(?name_str);
187187
match name_str[..] {
188188
// These are the types from Rust core ecosystem
189-
["sym" | "proc_macro2", ..]
189+
["syn" | "proc_macro2", ..]
190190
| ["core" | "std", "task", "LocalWaker" | "Waker"]
191191
| ["core" | "std", "task", "wake", "LocalWaker" | "Waker"] => Some(smallvec![]),
192192
// These are important types from Rust ecosystem

0 commit comments

Comments
 (0)