about summary refs log tree commit diff
path: root/src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs
diff options
context:
space:
mode:
authorCharles Lew <crlf0710@gmail.com>2022-10-22 18:48:20 +0800
committerCharles Lew <crlf0710@gmail.com>2022-10-24 17:02:31 +0800
commit113e8dfb7293cc070214b42541781b2eeac25ae1 (patch)
treec12cf2c41c2492e556f72584a00e492783cdc5b3 /src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs
parent56f132565eb31eeb9ec7e1800a6ab2ca354e710e (diff)
downloadrust-113e8dfb7293cc070214b42541781b2eeac25ae1.tar.gz
rust-113e8dfb7293cc070214b42541781b2eeac25ae1.zip
Port `dead_code` lints to be translatable.
Diffstat (limited to 'src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs')
-rw-r--r--src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs b/src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs
index 15d06817577..6ab1fb7b039 100644
--- a/src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs
+++ b/src/test/ui/derives/clone-debug-dead-code-in-the-same-struct.rs
@@ -3,7 +3,7 @@
 #[derive(Debug)]
 pub struct Whatever {
     pub field0: (),
-    field1: (), //~ ERROR fields `field1`, `field2`, `field3` and `field4` are never read
+    field1: (), //~ ERROR fields `field1`, `field2`, `field3`, and `field4` are never read
     field2: (),
     field3: (),
     field4: (),