summary refs log tree commit diff
path: root/src/test/ui/error-codes/e0119/issue-28981.rs
blob: c31b212b25a0df00e64c20392ea267f145b9ab9b (plain)
1
2
3
4
5
6
7
8
use std::ops::Deref;

struct Foo;

impl<Foo> Deref for Foo { } //~ ERROR must be used
//~^ ERROR conflicting implementations

fn main() {}