rust/tests/ui/error-codes/e0119/issue-28981.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
100 B
Rust
Raw Normal View History

use std::ops::Deref;
struct Foo;
2017-11-20 06:13:27 -06:00
impl<Foo> Deref for Foo { } //~ ERROR must be used
2017-11-20 06:13:27 -06:00
fn main() {}