fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
866 B26 linesraw
1error: user args: UserArgs { args: [&ReStatic u32], user_self_ty: None }
2  --> $DIR/dump-fn-method.rs:29:13
3   |
4LL |     let x = foo::<&'static u32>;
5   |             ^^^^^^^^^^^^^^^^^^^
6
7error: user args: UserArgs { args: [^0, u32, ^1], user_self_ty: None }
8  --> $DIR/dump-fn-method.rs:35:13
9   |
10LL |     let x = <_ as Bazoom<u32>>::method::<_>;
11   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: user args: UserArgs { args: [u8, &ReStatic u16, u32], user_self_ty: None }
14  --> $DIR/dump-fn-method.rs:44:13
15   |
16LL |     let x = <u8 as Bazoom<&'static u16>>::method::<u32>;
17   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19error: user args: UserArgs { args: [^0, ^1, u32], user_self_ty: None }
20  --> $DIR/dump-fn-method.rs:52:5
21   |
22LL |     y.method::<u32>(44, 66);
23   |     ^^^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 4 previous errors
26