File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
branches/tmp/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 @@ -34,4 +34,4 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 4b75931ce24f2c7ccf6486e434c24c6df595f4bc
37
+ refs/heads/tmp: a6f9180fd61f509ebc6d666eda3f6bb42dd02573
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