Skip to content

Commit a6b570b

Browse files
committed
Tidy
1 parent 14a127b commit a6b570b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/ui/typeck/issue-87181/empty-tuple-method.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fn main() {
1111
let thing = Bar { bar: Foo };
1212
thing.bar.foo();
1313
//~^ ERROR no method named `foo` found for fn item `fn() -> Foo {Foo}` in the current scope [E0599]
14-
}
14+
}

src/test/ui/typeck/issue-87181/enum-variant.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ fn main() {
1313
let thing = Bar { bar: Foo::Tup };
1414
thing.bar.foo();
1515
//~^ ERROR no method named `foo` found for fn item `fn() -> Foo {Foo::Tup}` in the current scope [E0599]
16-
}
16+
}

src/test/ui/typeck/issue-87181/tuple-field.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fn main() {
1111
let thing = Bar { bar: Foo };
1212
thing.bar.0;
1313
//~^ ERROR no field `0` on type `fn(char, u16) -> Foo {Foo}` [E0609]
14-
}
14+
}

src/test/ui/typeck/issue-87181/tuple-method.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fn main() {
1111
let thing = Bar { bar: Foo };
1212
thing.bar.foo();
1313
//~^ ERROR no method named `foo` found for fn item `fn(u8, i32) -> Foo {Foo}` in the current scope [E0599]
14-
}
14+
}

0 commit comments

Comments
 (0)