From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/typeck/issue-91210-ptr-method.stderr | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/test/ui/typeck/issue-91210-ptr-method.stderr (limited to 'src/test/ui/typeck/issue-91210-ptr-method.stderr') diff --git a/src/test/ui/typeck/issue-91210-ptr-method.stderr b/src/test/ui/typeck/issue-91210-ptr-method.stderr deleted file mode 100644 index 7a0cfb2cf..000000000 --- a/src/test/ui/typeck/issue-91210-ptr-method.stderr +++ /dev/null @@ -1,14 +0,0 @@ -error[E0615]: attempted to take value of method `read` on type `*mut Foo` - --> $DIR/issue-91210-ptr-method.rs:10:7 - | -LL | x.read = 4; - | ^^^^ method, not a field - | -help: to access the field, dereference first - | -LL | (*x).read = 4; - | ++ + - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0615`. -- cgit v1.2.3