@@ -678,7 +678,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
678678 rustc_attr ! (
679679 rustc_pass_indirectly_in_non_rustic_abis, Normal , template!( Word ) , ErrorFollowing ,
680680 EncodeCrossCrate :: No ,
681- "types marked with `#[rustc_pass_indirectly_in_non_rustic_abis]` are always passed indirectly by non-Rustic abis. "
681+ "types marked with `#[rustc_pass_indirectly_in_non_rustic_abis]` are always passed indirectly by non-Rustic ABIs "
682682 ) ,
683683
684684 // Limits:
@@ -1275,38 +1275,38 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
12751275 rustc_attr ! (
12761276 rustc_as_ptr, Normal , template!( Word ) , ErrorFollowing ,
12771277 EncodeCrossCrate :: Yes ,
1278- "`#[rustc_as_ptr]` is used to mark functions returning pointers to their inner allocations. "
1278+ "`#[rustc_as_ptr]` is used to mark functions returning pointers to their inner allocations"
12791279 ) ,
12801280 rustc_attr ! (
12811281 rustc_should_not_be_called_on_const_items, Normal , template!( Word ) , ErrorFollowing ,
12821282 EncodeCrossCrate :: Yes ,
1283- "`#[rustc_should_not_be_called_on_const_items]` is used to mark methods that don't make sense to be called on interior mutable consts. "
1283+ "`#[rustc_should_not_be_called_on_const_items]` is used to mark methods that don't make sense to be called on interior mutable consts"
12841284 ) ,
12851285 rustc_attr ! (
12861286 rustc_pass_by_value, Normal , template!( Word ) , ErrorFollowing ,
12871287 EncodeCrossCrate :: Yes ,
1288- "`#[rustc_pass_by_value]` is used to mark types that must be passed by value instead of reference. "
1288+ "`#[rustc_pass_by_value]` is used to mark types that must be passed by value instead of reference"
12891289 ) ,
12901290 rustc_attr ! (
12911291 rustc_never_returns_null_ptr, Normal , template!( Word ) , ErrorFollowing ,
12921292 EncodeCrossCrate :: Yes ,
1293- "`#[rustc_never_returns_null_ptr]` is used to mark functions returning non-null pointers. "
1293+ "`#[rustc_never_returns_null_ptr]` is used to mark functions returning non-null pointers"
12941294 ) ,
12951295 rustc_attr ! (
12961296 rustc_no_implicit_autorefs, AttributeType :: Normal , template!( Word ) , ErrorFollowing , EncodeCrossCrate :: Yes ,
1297- "`#[rustc_no_implicit_autorefs]` is used to mark functions for which an autoref to the dereference of a raw pointer should not be used as an argument. "
1297+ "`#[rustc_no_implicit_autorefs]` is used to mark functions for which an autoref to the dereference of a raw pointer should not be used as an argument"
12981298 ) ,
12991299 rustc_attr ! (
13001300 rustc_coherence_is_core, AttributeType :: CrateLevel , template!( Word ) , ErrorFollowing , EncodeCrossCrate :: No ,
1301- "`#![rustc_coherence_is_core]` allows inherent methods on builtin types, only intended to be used in `core`. "
1301+ "`#![rustc_coherence_is_core]` allows inherent methods on builtin types, only intended to be used in `core`"
13021302 ) ,
13031303 rustc_attr ! (
13041304 rustc_coinductive, AttributeType :: Normal , template!( Word ) , WarnFollowing , EncodeCrossCrate :: No ,
1305- "`#[rustc_coinductive]` changes a trait to be coinductive, allowing cycles in the trait solver. "
1305+ "`#[rustc_coinductive]` changes a trait to be coinductive, allowing cycles in the trait solver"
13061306 ) ,
13071307 rustc_attr ! (
13081308 rustc_allow_incoherent_impl, AttributeType :: Normal , template!( Word ) , ErrorFollowing , EncodeCrossCrate :: No ,
1309- "`#[rustc_allow_incoherent_impl]` has to be added to all impl items of an incoherent inherent impl. "
1309+ "`#[rustc_allow_incoherent_impl]` has to be added to all impl items of an incoherent inherent impl"
13101310 ) ,
13111311 rustc_attr ! (
13121312 rustc_preserve_ub_checks, AttributeType :: CrateLevel , template!( Word ) , ErrorFollowing , EncodeCrossCrate :: No ,
@@ -1333,7 +1333,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
13331333 rustc_has_incoherent_inherent_impls, AttributeType :: Normal , template!( Word ) ,
13341334 ErrorFollowing , EncodeCrossCrate :: Yes ,
13351335 "`#[rustc_has_incoherent_inherent_impls]` allows the addition of incoherent inherent impls for \
1336- the given type by annotating all impl items with `#[rustc_allow_incoherent_impl]`. "
1336+ the given type by annotating all impl items with `#[rustc_allow_incoherent_impl]`"
13371337 ) ,
13381338
13391339 BuiltinAttribute {
@@ -1396,7 +1396,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
13961396 EncodeCrossCrate :: No ,
13971397 "the `#[rustc_skip_during_method_dispatch]` attribute is used to exclude a trait \
13981398 from method dispatch when the receiver is of the following type, for compatibility in \
1399- editions < 2021 (array) or editions < 2024 (boxed_slice). "
1399+ editions < 2021 (array) or editions < 2024 (boxed_slice)"
14001400 ) ,
14011401 rustc_attr ! (
14021402 rustc_must_implement_one_of, Normal , template!( List : & [ "function1, function2, ..." ] ) ,
0 commit comments