diff options
Diffstat (limited to 'tests/ui/rust-2018/auxiliary/trait-import-suggestions.rs')
-rw-r--r-- | tests/ui/rust-2018/auxiliary/trait-import-suggestions.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/rust-2018/auxiliary/trait-import-suggestions.rs b/tests/ui/rust-2018/auxiliary/trait-import-suggestions.rs new file mode 100644 index 000000000..d356f3294 --- /dev/null +++ b/tests/ui/rust-2018/auxiliary/trait-import-suggestions.rs @@ -0,0 +1,5 @@ +pub trait Baz { + fn baz(&self) { } +} + +impl Baz for u32 { } |