]>
git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/issue-105226.rs
7 fn hello
<P
>(&self, val
: &P
) where P
: fmt
::Display
; {
8 //~^ ERROR non-item in item list
9 //~| ERROR associated function in `impl` without body
10 println
!("val: {}", val
);
15 fn hello_empty
<P
>(&self, val
: &P
) where P
: fmt
::Display
;
16 //~^ ERROR associated function in `impl` without body