fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
411 B13 linesraw
1// compile-flags: --test
2// run-rustfix
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
6// of the file.
7#![allow(unused)]
8
9use std::fmt::Debug;
10
11fn main() {}
12
13fn foobar<T: Debug>(x: T) {} //~ ERROR expected trait, found derive macro