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 --- src/test/ui/cast/issue-84213.stderr | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/test/ui/cast/issue-84213.stderr (limited to 'src/test/ui/cast/issue-84213.stderr') diff --git a/src/test/ui/cast/issue-84213.stderr b/src/test/ui/cast/issue-84213.stderr deleted file mode 100644 index 025970e54..000000000 --- a/src/test/ui/cast/issue-84213.stderr +++ /dev/null @@ -1,25 +0,0 @@ -error[E0605]: non-primitive cast: `Something` as `*const Something` - --> $DIR/issue-84213.rs:11:33 - | -LL | let _pointer_to_something = something as *const Something; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid cast - | -help: consider borrowing the value - | -LL | let _pointer_to_something = &something as *const Something; - | + - -error[E0605]: non-primitive cast: `Something` as `*mut Something` - --> $DIR/issue-84213.rs:14:37 - | -LL | let _mut_pointer_to_something = something as *mut Something; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid cast - | -help: consider borrowing the value - | -LL | let _mut_pointer_to_something = &mut something as *mut Something; - | ++++ - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0605`. -- cgit v1.2.3