diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-23 03:02:46 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-23 03:02:46 +0000 |
| commit | 506532aad2368b1a62d07fa9950850a2f42966e4 (patch) | |
| tree | d4d30988a96c053f07110d9f9371896e78ca30fe /compiler/rustc_mir_transform/src | |
| parent | 46420c96070b4c4bd8242f16d5806b8f26a57016 (diff) | |
| download | rust-506532aad2368b1a62d07fa9950850a2f42966e4.tar.gz rust-506532aad2368b1a62d07fa9950850a2f42966e4.zip | |
The sym crate is not a thing
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs b/compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs index 50d10883d2c..e3260e45bc5 100644 --- a/compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs +++ b/compiler/rustc_mir_transform/src/lint_tail_expr_drop_order.rs @@ -186,7 +186,7 @@ fn true_significant_drop_ty<'tcx>( debug!(?name_str); match name_str[..] { // These are the types from Rust core ecosystem - ["sym" | "proc_macro2", ..] + ["syn" | "proc_macro2", ..] | ["core" | "std", "task", "LocalWaker" | "Waker"] | ["core" | "std", "task", "wake", "LocalWaker" | "Waker"] => Some(smallvec![]), // These are important types from Rust ecosystem |
