We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7bce2c1 + 76b5237 commit 8469226Copy full SHA for 8469226
tests/fail/dyn-upcast-trait-mismatch.stderr
@@ -2,7 +2,7 @@ error: Undefined Behavior: using vtable for `Baz` but `Bar` was expected
2
--> tests/fail/dyn-upcast-trait-mismatch.rs:LL:CC
3
|
4
LL | let _err = baz_fake as *const dyn Foo;
5
- | ^^^^^^^^ using vtable for `Baz` but `Bar` was expected
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^ using vtable for `Baz` but `Bar` was expected
6
7
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
0 commit comments