From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/codemap_tests/tab.stderr | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/ui/codemap_tests/tab.stderr (limited to 'tests/ui/codemap_tests/tab.stderr') diff --git a/tests/ui/codemap_tests/tab.stderr b/tests/ui/codemap_tests/tab.stderr new file mode 100644 index 000000000..c3f19d20d --- /dev/null +++ b/tests/ui/codemap_tests/tab.stderr @@ -0,0 +1,18 @@ +error[E0425]: cannot find value `bar` in this scope + --> $DIR/tab.rs:4:2 + | +LL | bar; + | ^^^ not found in this scope + +error[E0308]: mismatched types + --> $DIR/tab.rs:8:2 + | +LL | fn foo() { + | - help: try adding a return type: `-> &'static str` +LL | "bar boo" + | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` + +error: aborting due to 2 previous errors + +Some errors have detailed explanations: E0308, E0425. +For more information about an error, try `rustc --explain E0308`. -- cgit v1.2.3