summary refs log tree commit diff
path: root/src/test/compile-fail/pub-method-macro.rs
AgeCommit message (Collapse)AuthorLines
2015-04-01Fallout in testsNiko Matsakis-1/+1
2015-02-13Forbid `pub mymacro!();`Keegan McAllister-0/+34
It's not clear what this means, because a macro in item position can expand to zero or more items. For now we disallow it, which is technically a [breaking-change] but is landing without an RFC. The `pub` keyword previously had no effect, which seems quite unintended. Fixes #18317. Fixes #14660.