summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/2229_closure_analysis/optimization
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/2229_closure_analysis/optimization')
-rw-r--r--tests/ui/closures/2229_closure_analysis/optimization/edge_case_run_pass.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/closures/2229_closure_analysis/optimization/edge_case_run_pass.rs b/tests/ui/closures/2229_closure_analysis/optimization/edge_case_run_pass.rs
index 033fd6f17..5496d0e5f 100644
--- a/tests/ui/closures/2229_closure_analysis/optimization/edge_case_run_pass.rs
+++ b/tests/ui/closures/2229_closure_analysis/optimization/edge_case_run_pass.rs
@@ -3,6 +3,7 @@
#![allow(unused)]
#![allow(dead_code)]
+#![allow(dropping_references)]
struct Int(i32);
struct B<'a>(&'a i32);