rust/tests/ui/nll/user-annotations/dump-fn-method.stderr

27 lines
890 B
Plaintext
Raw Normal View History

error: user substs: UserSubsts { substs: [&ReStatic u32], user_self_ty: None }
2022-04-01 12:13:25 -05:00
--> $DIR/dump-fn-method.rs:29:13
|
2019-03-09 06:03:44 -06:00
LL | let x = foo::<&'static u32>;
| ^^^^^^^^^^^^^^^^^^^
error: user substs: UserSubsts { substs: [^0, u32, ^1], user_self_ty: None }
2022-04-01 12:13:25 -05:00
--> $DIR/dump-fn-method.rs:35:13
|
2019-03-09 06:03:44 -06:00
LL | let x = <_ as Bazoom<u32>>::method::<_>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: user substs: UserSubsts { substs: [u8, &ReStatic u16, u32], user_self_ty: None }
2022-04-01 12:13:25 -05:00
--> $DIR/dump-fn-method.rs:44:13
|
2019-03-09 06:03:44 -06:00
LL | let x = <u8 as Bazoom<&'static u16>>::method::<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: user substs: UserSubsts { substs: [^0, ^1, u32], user_self_ty: None }
2022-04-01 12:13:25 -05:00
--> $DIR/dump-fn-method.rs:52:5
|
2019-03-09 06:03:44 -06:00
LL | y.method::<u32>(44, 66);
| ^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors