@@ -410,7 +410,7 @@ mod builtin {
410410 ///
411411 /// [`panic!`]: ../std/macro.panic.html
412412 #[ stable( feature = "compile_error_macro" , since = "1.20.0" ) ]
413- #[ rustc_doc_only_macro ]
413+ #[ rustc_builtin_macro ]
414414 macro_rules! compile_error {
415415 ( $msg: expr) => ( { /* compiler built-in */ } ) ;
416416 ( $msg: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -462,7 +462,7 @@ mod builtin {
462462 /// assert_eq!(s, format!("hello {}", "world"));
463463 /// ```
464464 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
465- #[ rustc_doc_only_macro ]
465+ #[ rustc_builtin_macro ]
466466 macro_rules! format_args {
467467 ( $fmt: expr) => ( { /* compiler built-in */ } ) ;
468468 ( $fmt: expr, $( $args: tt) * ) => ( { /* compiler built-in */ } ) ;
@@ -500,7 +500,7 @@ mod builtin {
500500 /// error: what's that?!
501501 /// ```
502502 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
503- #[ rustc_doc_only_macro ]
503+ #[ rustc_builtin_macro ]
504504 macro_rules! env {
505505 ( $name: expr) => ( { /* compiler built-in */ } ) ;
506506 ( $name: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -526,7 +526,7 @@ mod builtin {
526526 /// println!("the secret key might be: {:?}", key);
527527 /// ```
528528 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
529- #[ rustc_doc_only_macro ]
529+ #[ rustc_builtin_macro ]
530530 macro_rules! option_env {
531531 ( $name: expr) => ( { /* compiler built-in */ } ) ;
532532 ( $name: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -557,7 +557,7 @@ mod builtin {
557557 /// # }
558558 /// ```
559559 #[ unstable( feature = "concat_idents_macro" , issue = "29599" ) ]
560- #[ rustc_doc_only_macro ]
560+ #[ rustc_builtin_macro ]
561561 macro_rules! concat_idents {
562562 ( $( $e: ident) ,+) => ( { /* compiler built-in */ } ) ;
563563 ( $( $e: ident, ) +) => ( { /* compiler built-in */ } ) ;
@@ -579,7 +579,7 @@ mod builtin {
579579 /// assert_eq!(s, "test10btrue");
580580 /// ```
581581 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
582- #[ rustc_doc_only_macro ]
582+ #[ rustc_builtin_macro ]
583583 macro_rules! concat {
584584 ( $( $e: expr) ,* ) => ( { /* compiler built-in */ } ) ;
585585 ( $( $e: expr, ) * ) => ( { /* compiler built-in */ } ) ;
@@ -607,7 +607,7 @@ mod builtin {
607607 /// println!("defined on line: {}", current_line);
608608 /// ```
609609 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
610- #[ rustc_doc_only_macro ]
610+ #[ rustc_builtin_macro ]
611611 macro_rules! line { ( ) => ( { /* compiler built-in */ } ) }
612612
613613 /// Expands to the column number at which it was invoked.
@@ -632,7 +632,7 @@ mod builtin {
632632 /// println!("defined on column: {}", current_col);
633633 /// ```
634634 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
635- #[ rustc_doc_only_macro ]
635+ #[ rustc_builtin_macro ]
636636 macro_rules! column { ( ) => ( { /* compiler built-in */ } ) }
637637
638638 /// Expands to the file name in which it was invoked.
@@ -656,7 +656,7 @@ mod builtin {
656656 /// println!("defined in file: {}", this_file);
657657 /// ```
658658 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
659- #[ rustc_doc_only_macro ]
659+ #[ rustc_builtin_macro ]
660660 macro_rules! file { ( ) => ( { /* compiler built-in */ } ) }
661661
662662 /// Stringifies its arguments.
@@ -675,7 +675,7 @@ mod builtin {
675675 /// assert_eq!(one_plus_one, "1 + 1");
676676 /// ```
677677 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
678- #[ rustc_doc_only_macro ]
678+ #[ rustc_builtin_macro ]
679679 macro_rules! stringify { ( $( $t: tt) * ) => ( { /* compiler built-in */ } ) }
680680
681681 /// Includes a utf8-encoded file as a string.
@@ -709,7 +709,7 @@ mod builtin {
709709 ///
710710 /// Compiling 'main.rs' and running the resulting binary will print "adiós".
711711 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
712- #[ rustc_doc_only_macro ]
712+ #[ rustc_builtin_macro ]
713713 macro_rules! include_str {
714714 ( $file: expr) => ( { /* compiler built-in */ } ) ;
715715 ( $file: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -746,7 +746,7 @@ mod builtin {
746746 ///
747747 /// Compiling 'main.rs' and running the resulting binary will print "adiós".
748748 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
749- #[ rustc_doc_only_macro ]
749+ #[ rustc_builtin_macro ]
750750 macro_rules! include_bytes {
751751 ( $file: expr) => ( { /* compiler built-in */ } ) ;
752752 ( $file: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -770,7 +770,7 @@ mod builtin {
770770 /// test::foo();
771771 /// ```
772772 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
773- #[ rustc_doc_only_macro ]
773+ #[ rustc_builtin_macro ]
774774 macro_rules! module_path { ( ) => ( { /* compiler built-in */ } ) }
775775
776776 /// Evaluates boolean combinations of configuration flags at compile-time.
@@ -794,7 +794,7 @@ mod builtin {
794794 /// };
795795 /// ```
796796 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
797- #[ rustc_doc_only_macro ]
797+ #[ rustc_builtin_macro ]
798798 macro_rules! cfg { ( $( $cfg: tt) * ) => ( { /* compiler built-in */ } ) }
799799
800800 /// Parses a file as an expression or an item according to the context.
@@ -837,7 +837,7 @@ mod builtin {
837837 /// Compiling 'main.rs' and running the resulting binary will print
838838 /// "🙈🙊🙉🙈🙊🙉".
839839 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
840- #[ rustc_doc_only_macro ]
840+ #[ rustc_builtin_macro ]
841841 macro_rules! include {
842842 ( $file: expr) => ( { /* compiler built-in */ } ) ;
843843 ( $file: expr, ) => ( { /* compiler built-in */ } ) ;
@@ -889,7 +889,7 @@ mod builtin {
889889 /// assert!(a + b == 30, "a = {}, b = {}", a, b);
890890 /// ```
891891 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
892- #[ rustc_doc_only_macro ]
892+ #[ rustc_builtin_macro ]
893893 macro_rules! assert {
894894 ( $cond: expr) => ( { /* compiler built-in */ } ) ;
895895 ( $cond: expr, ) => ( { /* compiler built-in */ } ) ;
0 commit comments