]> git.lizzy.rs Git - rust.git/commitdiff
Tidy
authorGeorge <33588728+George-lewis@users.noreply.github.com>
Tue, 26 Apr 2022 21:05:49 +0000 (17:05 -0400)
committerGeorge <33588728+George-lewis@users.noreply.github.com>
Tue, 26 Apr 2022 21:05:49 +0000 (17:05 -0400)
src/test/ui/typeck/issue-87181/empty-tuple-method.rs
src/test/ui/typeck/issue-87181/enum-variant.rs
src/test/ui/typeck/issue-87181/tuple-field.rs
src/test/ui/typeck/issue-87181/tuple-method.rs

index 9f97f7dcadf3d07208d40f28cb36024c75ba7390..1875d8280cb627b21e8b25be5406249f85b3cbcb 100644 (file)
@@ -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]
-}
\ No newline at end of file
+}
index fcc89d9f07d376638e571c853f875148e5037141..3b926b90f10bbe23c293dea4a226c8d640576f78 100644 (file)
@@ -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]
-}
\ No newline at end of file
+}
index ff1355160bd2181dd5d4cee4aa4df910d0539dba..00e3b460ecf3239fb67380d436cfc40be485c247 100644 (file)
@@ -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]
-}
\ No newline at end of file
+}
index e0eadde35cef0e0f66f259226d925df17e18efb3..e88f642b0707bf4c4428289cdfedcdac66bb47b1 100644 (file)
@@ -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]
-}
\ No newline at end of file
+}