diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/cast/issue-17444.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/cast/issue-17444.stderr b/src/test/ui/cast/issue-17444.stderr new file mode 100644 index 000000000..1097079df --- /dev/null +++ b/src/test/ui/cast/issue-17444.stderr @@ -0,0 +1,9 @@ +error[E0606]: casting `Test` as `*const isize` is invalid + --> $DIR/issue-17444.rs:6:14 + | +LL | let _x = Test::Foo as *const isize; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0606`. |