address review comments

This commit is contained in:
Manish Goregaokar 2015-06-02 07:30:37 +05:30
parent 13b4bcfbb7
commit 2551cce51e

View file

@ -61,7 +61,7 @@ fn heap_size_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substruct
MetaNameValue(..) => (), MetaNameValue(..) => (),
_ => cx.span_err(a.span, "#[ignore_heap_size_of] \ _ => cx.span_err(a.span, "#[ignore_heap_size_of] \
should have an explanation, \ should have an explanation, \
e.g. #[ignore_heap_size_of = \"foo\"]") e.g. #[ignore_heap_size_of = \"\"]")
} }
true true
} else { } else {