1
Fork 0

Fix rebase fallout

This commit is contained in:
Steven Fackler 2014-09-24 00:35:42 -07:00
parent 65cca7c8b1
commit dcdbdc1003
3 changed files with 12 additions and 14 deletions

View file

@ -340,7 +340,7 @@ fn is_ignored(cx: &TestCtxt, i: &ast::Item) -> bool {
attr.check_name("ignore") && match attr.meta_item_list() {
Some(ref cfgs) => {
if cfgs.iter().any(|cfg| cfg.check_name("cfg")) {
cx.sess.span_warn(attr.span,
cx.span_diagnostic.span_warn(attr.span,
"The use of cfg filters in #[ignore] is \
deprecated. Use #[cfg_attr(<cfg pattern>, \
ignore)] instead.");