]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_typeck/src/upvar.rs
Rollup merge of #107508 - WaffleLapkin:uneq'15, r=oli-obk
[rust.git] / compiler / rustc_hir_typeck / src / upvar.rs
index a9347991e7f9899935a361581d47600b8ed777f5..e12a575d5acde1278a19d7b36ee036b8b3a3695d 100644 (file)
@@ -663,7 +663,7 @@ fn compute_min_captures(
         // fields of some type, the observable drop order will remain the same as it previously
         // was even though we're dropping each capture individually.
         // See https://github.com/rust-lang/project-rfc-2229/issues/42 and
-        // `src/test/ui/closures/2229_closure_analysis/preserve_field_drop_order.rs`.
+        // `tests/ui/closures/2229_closure_analysis/preserve_field_drop_order.rs`.
         for (_, captures) in &mut root_var_min_capture_list {
             captures.sort_by(|capture1, capture2| {
                 for (p1, p2) in capture1.place.projections.iter().zip(&capture2.place.projections) {