1 error[E0107]: wrong number of const arguments: expected 0, found 1
2 --> $DIR/invalid-const-arg-for-type-param.rs:6:34
4 LL | let _: u32 = 5i32.try_into::<32>().unwrap();
5 | ^^ unexpected const argument
7 error[E0599]: no method named `f` found for struct `S` in the current scope
8 --> $DIR/invalid-const-arg-for-type-param.rs:7:7
11 | --------- method `f` not found for this
14 | ^ method not found in `S`
16 error[E0107]: wrong number of const arguments: expected 0, found 1
17 --> $DIR/invalid-const-arg-for-type-param.rs:8:9
20 | ^ unexpected const argument
22 error: aborting due to 3 previous errors
24 Some errors have detailed explanations: E0107, E0599.
25 For more information about an error, try `rustc --explain E0107`.