summaryrefslogtreecommitdiffstats
path: root/tests/ui/range/issue-54505.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/range/issue-54505.fixed')
-rw-r--r--tests/ui/range/issue-54505.fixed12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/range/issue-54505.fixed b/tests/ui/range/issue-54505.fixed
index f8298c0b5..9d113ba1d 100644
--- a/tests/ui/range/issue-54505.fixed
+++ b/tests/ui/range/issue-54505.fixed
@@ -14,30 +14,30 @@ fn main() {
take_range(&(0..1));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(0..1)
+ //~| SUGGESTION &(
take_range(&(1..));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(1..)
+ //~| SUGGESTION &(
take_range(&(..));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(..)
+ //~| SUGGESTION &(
take_range(&(0..=1));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(0..=1)
+ //~| SUGGESTION &(
take_range(&(..5));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(..5)
+ //~| SUGGESTION &(
take_range(&(..=42));
//~^ ERROR mismatched types [E0308]
//~| HELP consider borrowing here
- //~| SUGGESTION &(..=42)
+ //~| SUGGESTION &(
}