about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2021-01-23 00:50:03 -0500
committerFelix S. Klock II <pnkfelix@pnkfx.org>2021-02-01 17:08:37 -0500
commit2307d08d2f34ef782a1cc7af7bde57d766acd344 (patch)
treee260f5b30eeea68b848929119d7ae1a173251bbc /compiler/rustc_span
parent02b85d722050d61b40ae9746b3bac54ab55b1056 (diff)
downloadrust-2307d08d2f34ef782a1cc7af7bde57d766acd344.tar.gz
rust-2307d08d2f34ef782a1cc7af7bde57d766acd344.zip
Use UFCS instead of method calls in `derive(Debug)`. See issue 81211 for discussion.
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index f2f975c0cf9..bc094c12934 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -133,6 +133,8 @@ symbols! {
         Copy,
         Count,
         Debug,
+        DebugStruct,
+        DebugTuple,
         Decodable,
         Decoder,
         Default,