From ffea65bf6101ddecf14787c1a29a1460320c5a91 Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak
end"]),
("std/ops/struct.RangeInclusive.html", &["begin
, end"]),
+ ("core/range/legacy/struct.RangeInclusive.html", &["begin
, end"]),
+ ("std/range/legacy/struct.RangeInclusive.html", &["begin
, end"]),
("core/slice/trait.SliceIndex.html", &["begin
, end"]),
("alloc/slice/trait.SliceIndex.html", &["begin
, end"]),
("std/slice/trait.SliceIndex.html", &["begin
, end"]),
diff --git a/tests/ui/range/issue-54505-no-std.stderr b/tests/ui/range/issue-54505-no-std.stderr
index 1694d514f4251..f15a0ae61389a 100644
--- a/tests/ui/range/issue-54505-no-std.stderr
+++ b/tests/ui/range/issue-54505-no-std.stderr
@@ -7,7 +7,7 @@ LL | take_range(0..1);
| arguments to this function are incorrect
|
= note: expected reference `&_`
- found struct `Range<{integer}>`
+ found struct `core::ops::Range<{integer}>`
note: function defined here
--> $DIR/issue-54505-no-std.rs:25:4
|
@@ -27,7 +27,7 @@ LL | take_range(1..);
| arguments to this function are incorrect
|
= note: expected reference `&_`
- found struct `RangeFrom<{integer}>`
+ found struct `core::ops::RangeFrom<{integer}>`
note: function defined here
--> $DIR/issue-54505-no-std.rs:25:4
|
@@ -67,7 +67,7 @@ LL | take_range(0..=1);
| arguments to this function are incorrect
|
= note: expected reference `&_`
- found struct `RangeInclusive<{integer}>`
+ found struct `core::ops::RangeInclusive<{integer}>`
note: function defined here
--> $DIR/issue-54505-no-std.rs:25:4
|