summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/missing-item-sugg.rs
blob: 35d573d818846f78e1a3eb5e94424e7b24622b9c (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() {}