Update codegen.rs

This commit is contained in:
Nikolay Volf 2016-10-05 10:36:09 +03:00 committed by GitHub
parent 0002bfadab
commit a7e09d8842
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ pub fn expand_ipc_implementation(
let item = match *annotatable {
Annotatable::Item(ref item) => item,
_ => {
cx.span_err(meta_item.span, "`#[ipc]` may only be applied to struct implementations");
cx.span_err(meta_item.span, "`#[ipc]` may only be applied to implementations and traits");
return;
},
};