Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
George-lewis committed Apr 26, 2022
1 parent 14a127b commit a6b570b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/typeck/issue-87181/empty-tuple-method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ fn main() {
let thing = Bar { bar: Foo };
thing.bar.foo();
//~^ ERROR no method named `foo` found for fn item `fn() -> Foo {Foo}` in the current scope [E0599]
}
}
2 changes: 1 addition & 1 deletion src/test/ui/typeck/issue-87181/enum-variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ fn main() {
let thing = Bar { bar: Foo::Tup };
thing.bar.foo();
//~^ ERROR no method named `foo` found for fn item `fn() -> Foo {Foo::Tup}` in the current scope [E0599]
}
}
2 changes: 1 addition & 1 deletion src/test/ui/typeck/issue-87181/tuple-field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ fn main() {
let thing = Bar { bar: Foo };
thing.bar.0;
//~^ ERROR no field `0` on type `fn(char, u16) -> Foo {Foo}` [E0609]
}
}
2 changes: 1 addition & 1 deletion src/test/ui/typeck/issue-87181/tuple-method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ fn main() {
let thing = Bar { bar: Foo };
thing.bar.foo();
//~^ ERROR no method named `foo` found for fn item `fn(u8, i32) -> Foo {Foo}` in the current scope [E0599]
}
}

0 comments on commit a6b570b

Please sign in to comment.