diff options
Diffstat (limited to 'third_party/rust/async-trait/tests/ui/unsupported-self.stderr')
-rw-r--r-- | third_party/rust/async-trait/tests/ui/unsupported-self.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/rust/async-trait/tests/ui/unsupported-self.stderr b/third_party/rust/async-trait/tests/ui/unsupported-self.stderr new file mode 100644 index 0000000000..14939459e1 --- /dev/null +++ b/third_party/rust/async-trait/tests/ui/unsupported-self.stderr @@ -0,0 +1,5 @@ +error: the `Self` constructor can only be used with tuple or unit structs + --> tests/ui/unsupported-self.rs:11:17 + | +11 | let _ = Self; + | ^^^^ |