@@ -771,44 +771,53 @@ macro_rules! lazy_static_include_array_inner {
771771}
772772
773773#[ macro_export]
774+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
774775macro_rules! lazy_static_include_array {
775776 ( $name: ident: [ & ' static str ; $s: expr] , $path: expr $( , ) * ) => {
776777 lazy_static! {
778+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
777779 static ref $name: [ & ' static str ; $s] = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path) ;
778780 }
779781 } ;
780782 ( $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + $( , ) * ) => {
781783 lazy_static! {
784+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
782785 static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path $( , $paths) +) ;
783786 }
784787 } ;
785788 ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr $( , ) * ) => {
786789 lazy_static! {
790+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
787791 pub static ref $name: [ & ' static str ; $s] = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path) ;
788792 }
789793 } ;
790794 ( pub $name: ident: [ & ' static str ; $s: expr] , $path: expr, $( $paths: expr) , + $( , ) * ) => {
791795 lazy_static! {
796+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
792797 pub static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , $path $( , $paths) +) ;
793798 }
794799 } ;
795800 ( $name: ident: [ $t: ident; $s: expr] , $path: expr $( , ) * ) => {
796801 lazy_static! {
802+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
797803 static ref $name: [ $t; $s] = lazy_static_include_array_inner!( $name: [ $t; $s] , $path) ;
798804 }
799805 } ;
800806 ( $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + $( , ) * ) => {
801807 lazy_static! {
808+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
802809 static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , $path $( , $paths) +) ;
803810 }
804811 } ;
805812 ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr $( , ) * ) => {
806813 lazy_static! {
814+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
807815 pub static ref $name: [ $t; $s] = lazy_static_include_array_inner!( $name: [ $t; $s] , $path) ;
808816 }
809817 } ;
810818 ( pub $name: ident: [ $t: ident; $s: expr] , $path: expr, $( $paths: expr) , + $( , ) * ) => {
811819 lazy_static! {
820+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
812821 pub static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , $path $( , $paths) +) ;
813822 }
814823 } ;
@@ -818,21 +827,25 @@ macro_rules! lazy_static_include_array {
818827macro_rules! lazy_static_include_array_vec {
819828 ( $name: ident: [ & ' static str ; $s: expr] $( , $paths: expr) + $( , ) * ) => {
820829 lazy_static! {
830+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
821831 static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , Vec $( , $paths) +) ;
822832 }
823833 } ;
824834 ( pub $name: ident: [ & ' static str ; $s: expr] , $( $paths: expr) , + $( , ) * ) => {
825835 lazy_static! {
836+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
826837 pub static ref $name: Vec <[ & ' static str ; $s] > = lazy_static_include_array_inner!( $name: [ & ' static str ; $s] , Vec $( , $paths) +) ;
827838 }
828839 } ;
829840 ( $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + $( , ) * ) => {
830841 lazy_static! {
842+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
831843 static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , Vec $( , $paths) +) ;
832844 }
833845 } ;
834846 ( pub $name: ident: [ $t: ident; $s: expr] , $( $paths: expr) , + $( , ) * ) => {
835847 lazy_static! {
848+ #[ deprecated( since = "1.3.0" , note = "extremely unstable, it should be implemented by the `syn` crate" ) ]
836849 pub static ref $name: Vec <[ $t; $s] > = lazy_static_include_array_inner!( $name: [ $t; $s] , Vec $( , $paths) +) ;
837850 }
838851 } ;
0 commit comments