]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/use-placement-resolve.rs
1 // compile-flags: --test
3 // Checks that the `use` suggestion appears *below* this inner attribute.
4 // There was an issue where the test synthetic #[allow(dead)] attribute on
5 // main which has a dummy span caused the suggestion to be placed at the top
11 fn foobar
<T
: Debug
>(x
: T
) {}
//~ ERROR expected trait, found derive macro