@@ -673,7 +673,7 @@ impl Builder {
673
673
674
674
/// Hide the given type from the generated bindings. Regular expressions are
675
675
/// supported.
676
- #[ deprecated = "Use blacklist_type instead" ]
676
+ #[ deprecated( note = "Use blacklist_type instead" ) ]
677
677
pub fn hide_type < T : AsRef < str > > ( self , arg : T ) -> Builder {
678
678
self . blacklist_type ( arg)
679
679
}
@@ -695,7 +695,7 @@ impl Builder {
695
695
/// Whitelist the given type so that it (and all types that it transitively
696
696
/// refers to) appears in the generated bindings. Regular expressions are
697
697
/// supported.
698
- #[ deprecated = "use whitelist_type instead" ]
698
+ #[ deprecated( note = "use whitelist_type instead" ) ]
699
699
pub fn whitelisted_type < T : AsRef < str > > ( self , arg : T ) -> Builder {
700
700
self . whitelist_type ( arg)
701
701
}
@@ -719,7 +719,7 @@ impl Builder {
719
719
/// Whitelist the given function.
720
720
///
721
721
/// Deprecated: use whitelist_function instead.
722
- #[ deprecated = "use whitelist_function instead" ]
722
+ #[ deprecated( note = "use whitelist_function instead" ) ]
723
723
pub fn whitelisted_function < T : AsRef < str > > ( self , arg : T ) -> Builder {
724
724
self . whitelist_function ( arg)
725
725
}
@@ -735,7 +735,7 @@ impl Builder {
735
735
/// Whitelist the given variable.
736
736
///
737
737
/// Deprecated: use whitelist_var instead.
738
- #[ deprecated = "use whitelist_var instead" ]
738
+ #[ deprecated( note = "use whitelist_var instead" ) ]
739
739
pub fn whitelisted_var < T : AsRef < str > > ( self , arg : T ) -> Builder {
740
740
self . whitelist_var ( arg)
741
741
}
0 commit comments