We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789bfcc commit 037d475Copy full SHA for 037d475
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