fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
690 B26 linesraw
1error: higher-ranked subtype error
2  --> $DIR/issue-54302-cases.rs:63:5
3   |
4LL |     <u32 as RefFoo<u32>>::ref_foo(a)
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: higher-ranked subtype error
8  --> $DIR/issue-54302-cases.rs:69:5
9   |
10LL |     <i32 as RefFoo<i32>>::ref_foo(a)
11   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: higher-ranked subtype error
14  --> $DIR/issue-54302-cases.rs:75:5
15   |
16LL |     <u64 as RefFoo<u64>>::ref_foo(a)
17   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19error: higher-ranked subtype error
20  --> $DIR/issue-54302-cases.rs:81:5
21   |
22LL |     <i64 as RefFoo<i64>>::ref_foo(a)
23   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 4 previous errors
26