@@ -127,7 +127,7 @@ declare_features! (
127
127
( active, thread_local, "1.0.0" , Some ( 29594 ) , None ) ,
128
128
( active, trace_macros, "1.0.0" , Some ( 29598 ) , None ) ,
129
129
130
- // rustc internal, for now:
130
+ // rustc internal, for now
131
131
( active, intrinsics, "1.0.0" , None , None ) ,
132
132
( active, lang_items, "1.0.0" , None , None ) ,
133
133
( active, format_args_nl, "1.29.0" , None , None ) ,
@@ -157,6 +157,7 @@ declare_features! (
157
157
( active, optin_builtin_traits, "1.0.0" , Some ( 13231 ) , None ) ,
158
158
159
159
// Allows use of #[staged_api]
160
+ //
160
161
// rustc internal
161
162
( active, staged_api, "1.0.0" , None , None ) ,
162
163
@@ -234,24 +235,25 @@ declare_features! (
234
235
// Allows associated type defaults
235
236
( active, associated_type_defaults, "1.2.0" , Some ( 29661 ) , None ) ,
236
237
237
- // allow `repr(simd)`, and importing the various simd intrinsics
238
+ // Allows `repr(simd)`, and importing the various simd intrinsics
238
239
( active, repr_simd, "1.4.0" , Some ( 27731 ) , None ) ,
239
240
240
- // allow `extern "platform-intrinsic" { ... }`
241
+ // Allows `extern "platform-intrinsic" { ... }`
241
242
( active, platform_intrinsics, "1.4.0" , Some ( 27731 ) , None ) ,
242
243
243
- // allow `#[unwind(..)]`
244
+ // Allows `#[unwind(..)]`
244
245
// rustc internal for rust runtime
245
246
( active, unwind_attributes, "1.4.0" , None , None ) ,
246
247
247
- // allow the use of `#[naked]` on functions.
248
+ // Allows the use of `#[naked]` on functions.
248
249
( active, naked_functions, "1.9.0" , Some ( 32408 ) , None ) ,
249
250
250
- // allow `#[no_debug]`
251
+ // Allows `#[no_debug]`
251
252
( active, no_debug, "1.5.0" , Some ( 29721 ) , None ) ,
252
253
253
- // allow `#[omit_gdb_pretty_printer_section]`
254
- // rustc internal.
254
+ // Allows `#[omit_gdb_pretty_printer_section]`
255
+ //
256
+ // rustc internal
255
257
( active, omit_gdb_pretty_printer_section, "1.5.0" , None , None ) ,
256
258
257
259
// Allows cfg(target_vendor = "...").
@@ -281,10 +283,10 @@ declare_features! (
281
283
// The `!` type. Does not imply exhaustive_patterns (below) any more.
282
284
( active, never_type, "1.13.0" , Some ( 35121 ) , None ) ,
283
285
284
- // Allows exhaustive pattern matching on types that contain uninhabited types.
286
+ // Allows exhaustive pattern matching on types that contain uninhabited types
285
287
( active, exhaustive_patterns, "1.13.0" , Some ( 51085 ) , None ) ,
286
288
287
- // Allows all literals in attribute lists and values of key-value pairs.
289
+ // Allows all literals in attribute lists and values of key-value pairs
288
290
( active, attr_literals, "1.13.0" , Some ( 34981 ) , None ) ,
289
291
290
292
// Allows untagged unions `union U { ... }`
@@ -321,6 +323,7 @@ declare_features! (
321
323
( active, sanitizer_runtime, "1.17.0" , None , None ) ,
322
324
323
325
// Used to identify crates that contain the profiler runtime
326
+ //
324
327
// rustc internal
325
328
( active, profiler_runtime, "1.18.0" , None , None ) ,
326
329
@@ -378,7 +381,7 @@ declare_features! (
378
381
// extern types
379
382
( active, extern_types, "1.23.0" , Some ( 43467 ) , None ) ,
380
383
381
- // Allow trait methods with arbitrary self types
384
+ // Allows trait methods with arbitrary self types
382
385
( active, arbitrary_self_types, "1.23.0" , Some ( 44874 ) , None ) ,
383
386
384
387
// `crate` in paths
@@ -387,7 +390,7 @@ declare_features! (
387
390
// In-band lifetime bindings (e.g. `fn foo(x: &'a u8) -> &'a u8`)
388
391
( active, in_band_lifetimes, "1.23.0" , Some ( 44524 ) , None ) ,
389
392
390
- // generic associated types (RFC 1598)
393
+ // Generic associated types (RFC 1598)
391
394
( active, generic_associated_types, "1.23.0" , Some ( 44265 ) , None ) ,
392
395
393
396
// Resolve absolute paths as paths from other crates
@@ -462,7 +465,7 @@ declare_features! (
462
465
// Scoped lints
463
466
( active, tool_lints, "1.28.0" , Some ( 44690 ) , None ) ,
464
467
465
- // allow irrefutable patterns in if-let and while-let statements (RFC 2086)
468
+ // Allows irrefutable patterns in if-let and while-let statements (RFC 2086)
466
469
( active, irrefutable_let_patterns, "1.27.0" , Some ( 44495 ) , None ) ,
467
470
468
471
// Allows use of the :literal macro fragment specifier (RFC 1576)
@@ -492,11 +495,14 @@ declare_features! (
492
495
// impl Debug for Foo<'_>
493
496
( active, impl_header_lifetime_elision, "1.30.0" , Some ( 15872 ) , Some ( Edition :: Edition2018 ) ) ,
494
497
495
- // Support for arbitrary delimited token streams in non-macro attributes.
498
+ // Support for arbitrary delimited token streams in non-macro attributes
496
499
( active, unrestricted_attribute_tokens, "1.30.0" , Some ( 44690 ) , None ) ,
497
500
498
- // Allows `use x::y;` to resolve through `self::x`, not just `::x`.
501
+ // Allows `use x::y;` to resolve through `self::x`, not just `::x`
499
502
( active, uniform_paths, "1.30.0" , Some ( 53130 ) , None ) ,
503
+
504
+ // Allows `Self` in type definitions
505
+ ( active, self_in_typedefs, "1.30.0" , Some ( 49303 ) , None ) ,
500
506
) ;
501
507
502
508
declare_features ! (
0 commit comments