about summary refs log tree commit diff
path: root/tests/ui/suggestions/apitit-unimplemented-method.rs
blob: c0cd709e2300ac2d0c3a4ce0b1a110d400ecec5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ aux-build:dep.rs

extern crate dep;
use dep::*;

struct Local;

impl Trait for Local {}
//~^ ERROR not all trait items implemented
//~| HELP implement the missing item: `fn foo(_: impl Sized) { todo!() }`
//~| HELP implement the missing item: `fn bar<T>(_: impl Sized) where Foo<T>: MetaSized { todo!() }`
//~| HELP implement the missing item: `fn baz<const N: usize>() { todo!() }`
//~| HELP implement the missing item: `fn quux<'a: 'b, 'b, T>() where T: ?Sized { todo!() }`

fn main() {}