Forbid attrs on macros, since we don't handle them properly yet.

This commit is contained in:
Paul Stansifer 2012-11-21 22:38:27 -05:00 committed by Graydon Hoare
parent 6174a30d7c
commit 15e03e1e5e
4 changed files with 12 additions and 5 deletions

View file

@ -344,7 +344,7 @@ impl ident_interner {
}
}
/** Key for thread-local data for sneaking interner information to the
/* Key for thread-local data for sneaking interner information to the
* serializer/deserializer. It sounds like a hack because it is one.
* Bonus ultra-hack: functions as keys don't work across crates,
* so we have to use a unique number. See taskgroup_key! in task.rs