diff options
Diffstat (limited to 'src/test/ui/suggestions/too-many-field-suggestions.rs')
-rw-r--r-- | src/test/ui/suggestions/too-many-field-suggestions.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/test/ui/suggestions/too-many-field-suggestions.rs b/src/test/ui/suggestions/too-many-field-suggestions.rs deleted file mode 100644 index 905f9502c..000000000 --- a/src/test/ui/suggestions/too-many-field-suggestions.rs +++ /dev/null @@ -1,29 +0,0 @@ -struct Thing { - a0: Foo, - a1: Foo, - a2: Foo, - a3: Foo, - a4: Foo, - a5: Foo, - a6: Foo, - a7: Foo, - a8: Foo, - a9: Foo, -} - -struct Foo { - field: Field, -} - -struct Field; - -impl Foo { - fn bar(&self) {} -} - -fn bar(t: Thing) { - t.bar(); //~ ERROR no method named `bar` found for struct `Thing` - t.field; //~ ERROR no field `field` on type `Thing` -} - -fn main() {} |