]> git.lizzy.rs Git - rust.git/commit
Custom help message for people trying to make macro public
authorest31 <MTest31@outlook.com>
Mon, 28 Dec 2015 04:31:11 +0000 (05:31 +0100)
committerest31 <MTest31@outlook.com>
Wed, 30 Dec 2015 15:23:49 +0000 (16:23 +0100)
commit66a12f504f149bfa487f2353df003482802a18b4
treeba3b057300620a7413a75fcf4a94c27e69395136
parent176ee349a704a1aee9dfb79c27c5da20db7942a5
Custom help message for people trying to make macro public

The current help message is too much about "normal" macros to be used
as general message. Keep it for normal macros, and add custom help and
error messages for macro definitions.
src/libsyntax/parse/parser.rs
src/test/compile-fail/pub-macro-rules.rs [new file with mode: 0644]