]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/invalid-const-arg-for-type-param.rs
1 use std
::convert
::TryInto
;
6 let _
: u32 = 5i32.try_into
::<32>().unwrap();
7 //~^ ERROR this associated function takes 0 const arguments but 1 const argument was supplied
10 //~^ ERROR no method named `f`
13 //~^ ERROR this struct takes 0 const arguments but 1 const argument was supplied