File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
branches/snap-stage3/src/libsyntax/ext/deriving Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 474b324eda10440d6568ef872a7307d38e7de95b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 4b75931ce24f2c7ccf6486e434c24c6df595f4bc
4
+ refs/heads/snap-stage3: a6f9180fd61f509ebc6d666eda3f6bb42dd02573
5
5
refs/heads/try: fde4472848b662a4d1236388c4cf15e2450237e6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -107,6 +107,14 @@ pub fn expand_meta_derive(cx: &mut ExtCtxt,
107
107
108
108
"Rand" => expand ! ( rand:: expand_deriving_rand) ,
109
109
110
+ "Show" => {
111
+ cx. span_warn ( titem. span ,
112
+ "derive(Show) is deprecated \
113
+ in favor of derive(Debug)") ;
114
+
115
+ expand ! ( show:: expand_deriving_show)
116
+ } ,
117
+
110
118
"Debug" => expand ! ( show:: expand_deriving_show) ,
111
119
112
120
"Default" => expand ! ( default :: expand_deriving_default) ,
You can’t perform that action at this time.
0 commit comments