Fix rebase fallout
This commit is contained in:
parent
65cca7c8b1
commit
dcdbdc1003
3 changed files with 12 additions and 14 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue