about summary refs log tree commit diff
path: root/tests/ui/generic-associated-types/missing-item-sugg.rs
blob: b9266f6f8327afd2285af1727d7961c1337fb8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ aux-build:missing-item-sugg.rs

extern crate missing_item_sugg;

struct Local;
impl missing_item_sugg::Foo for Local {
    //~^ ERROR not all trait items implemented, missing: `Gat`
}
//~^ HELP implement the missing item: `type Gat<T> = /* Type */ where T: std::fmt::Display;`

fn main() {}