about summary refs log tree commit diff
path: root/src/test/ui/span
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-04-09 18:15:35 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-06-10 20:16:35 +0200
commit06af25e4f188946d9aba1c5f52ef7eec8fb29a45 (patch)
treec736ffe039d451ce50508ef58228f2544965ae27 /src/test/ui/span
parent871993f7a19794a01cd229a4a9810c1a0fc574f7 (diff)
Bless tests.
Diffstat (limited to 'src/test/ui/span')
-rw-r--r--src/test/ui/span/missing-unit-argument.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/span/missing-unit-argument.stderr b/src/test/ui/span/missing-unit-argument.stderr
index c8e1a232887..e68260e4a09 100644
--- a/src/test/ui/span/missing-unit-argument.stderr
+++ b/src/test/ui/span/missing-unit-argument.stderr
@@ -4,6 +4,11 @@ error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied
 LL |     let _: Result<(), String> = Ok();
    |                                 ^^-- an argument of type `()` is missing
    |
+note: tuple variant defined here
+  --> $SRC_DIR/core/src/result.rs:LL:COL
+   |
+LL |     Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
+   |     ^^
 help: provide the argument
    |
 LL |     let _: Result<(), String> = Ok(());