diff options
Diffstat (limited to 'tests/ui/generics/issue-95208.fixed')
-rw-r--r-- | tests/ui/generics/issue-95208.fixed | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/generics/issue-95208.fixed b/tests/ui/generics/issue-95208.fixed new file mode 100644 index 000000000..a0b1e886c --- /dev/null +++ b/tests/ui/generics/issue-95208.fixed @@ -0,0 +1,11 @@ +// run-rustfix + +#[allow(unused)] +struct Struct<T>(T); + +impl<T> Struct<T> where T: std::fmt::Display { +//~^ ERROR expected `:` followed by trait or lifetime +//~| HELP use single colon +} + +fn main() {} |