summaryrefslogtreecommitdiffstats
path: root/src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr')
-rw-r--r--src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr b/src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr
new file mode 100644
index 000000000..85087282d
--- /dev/null
+++ b/src/test/ui/transmutability/malformed-program-gracefulness/unknown_dst.stderr
@@ -0,0 +1,12 @@
+error[E0412]: cannot find type `Dst` in this scope
+ --> $DIR/unknown_dst.rs:20:36
+ |
+LL | fn should_gracefully_handle_unknown_dst() {
+ | - help: you might be missing a type parameter: `<Dst>`
+...
+LL | assert::is_transmutable::<Src, Dst, Context>();
+ | ^^^ not found in this scope
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0412`.