56
56
///
57
57
/// Also, since `bool` implements the [`Copy`](marker/trait.Copy.html) trait, we don't
58
58
/// have to worry about the move semantics (just like the integer and float primitives).
59
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
59
60
mod prim_bool { }
60
61
61
62
#[ doc( primitive = "char" ) ]
@@ -126,6 +127,7 @@ mod prim_bool { }
126
127
/// assert_eq!(12, s.len() * std::mem::size_of::<u8>());
127
128
/// assert_eq!(32, v.len() * std::mem::size_of::<char>());
128
129
/// ```
130
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
129
131
mod prim_char { }
130
132
131
133
#[ doc( primitive = "unit" ) ]
@@ -163,6 +165,7 @@ mod prim_char { }
163
165
/// };
164
166
/// ```
165
167
///
168
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
166
169
mod prim_unit { }
167
170
168
171
#[ doc( primitive = "pointer" ) ]
@@ -244,6 +247,7 @@ mod prim_unit { }
244
247
///
245
248
/// *[See also the `std::ptr` module](ptr/index.html).*
246
249
///
250
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
247
251
mod prim_pointer { }
248
252
249
253
#[ doc( primitive = "array" ) ]
@@ -342,6 +346,7 @@ mod prim_pointer { }
342
346
/// for x in &array { }
343
347
/// ```
344
348
///
349
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
345
350
mod prim_array { }
346
351
347
352
#[ doc( primitive = "slice" ) ]
@@ -372,6 +377,7 @@ mod prim_array { }
372
377
///
373
378
/// *[See also the `std::slice` module](slice/index.html).*
374
379
///
380
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
375
381
mod prim_slice { }
376
382
377
383
#[ doc( primitive = "str" ) ]
@@ -438,6 +444,7 @@ mod prim_slice { }
438
444
/// Note: This example shows the internals of `&str`. `unsafe` should not be
439
445
/// used to get a string slice under normal circumstances. Use `.as_slice()`
440
446
/// instead.
447
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
441
448
mod prim_str { }
442
449
443
450
#[ doc( primitive = "tuple" ) ]
@@ -536,13 +543,15 @@ mod prim_str { }
536
543
/// assert_eq!(y, 5);
537
544
/// ```
538
545
///
546
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
539
547
mod prim_tuple { }
540
548
541
549
#[ doc( primitive = "f32" ) ]
542
550
/// The 32-bit floating point type.
543
551
///
544
552
/// *[See also the `std::f32` module](f32/index.html).*
545
553
///
554
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
546
555
mod prim_f32 { }
547
556
548
557
#[ doc( primitive = "f64" ) ]
@@ -551,6 +560,7 @@ mod prim_f32 { }
551
560
///
552
561
/// *[See also the `std::f64` module](f64/index.html).*
553
562
///
563
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
554
564
mod prim_f64 { }
555
565
556
566
#[ doc( primitive = "i8" ) ]
@@ -562,6 +572,7 @@ mod prim_f64 { }
562
572
/// However, please note that examples are shared between primitive integer
563
573
/// types. So it's normal if you see usage of types like `i64` in there.
564
574
///
575
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
565
576
mod prim_i8 { }
566
577
567
578
#[ doc( primitive = "i16" ) ]
@@ -573,6 +584,7 @@ mod prim_i8 { }
573
584
/// However, please note that examples are shared between primitive integer
574
585
/// types. So it's normal if you see usage of types like `i32` in there.
575
586
///
587
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
576
588
mod prim_i16 { }
577
589
578
590
#[ doc( primitive = "i32" ) ]
@@ -584,6 +596,7 @@ mod prim_i16 { }
584
596
/// However, please note that examples are shared between primitive integer
585
597
/// types. So it's normal if you see usage of types like `i16` in there.
586
598
///
599
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
587
600
mod prim_i32 { }
588
601
589
602
#[ doc( primitive = "i64" ) ]
@@ -595,6 +608,7 @@ mod prim_i32 { }
595
608
/// However, please note that examples are shared between primitive integer
596
609
/// types. So it's normal if you see usage of types like `i8` in there.
597
610
///
611
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
598
612
mod prim_i64 { }
599
613
600
614
#[ doc( primitive = "i128" ) ]
@@ -606,6 +620,7 @@ mod prim_i64 { }
606
620
/// However, please note that examples are shared between primitive integer
607
621
/// types. So it's normal if you see usage of types like `i8` in there.
608
622
///
623
+ #[ unstable( feature = "i128" , issue="35118" ) ]
609
624
mod prim_i128 { }
610
625
611
626
#[ doc( primitive = "u8" ) ]
@@ -617,6 +632,7 @@ mod prim_i128 { }
617
632
/// However, please note that examples are shared between primitive integer
618
633
/// types. So it's normal if you see usage of types like `u64` in there.
619
634
///
635
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
620
636
mod prim_u8 { }
621
637
622
638
#[ doc( primitive = "u16" ) ]
@@ -628,6 +644,7 @@ mod prim_u8 { }
628
644
/// However, please note that examples are shared between primitive integer
629
645
/// types. So it's normal if you see usage of types like `u32` in there.
630
646
///
647
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
631
648
mod prim_u16 { }
632
649
633
650
#[ doc( primitive = "u32" ) ]
@@ -639,6 +656,7 @@ mod prim_u16 { }
639
656
/// However, please note that examples are shared between primitive integer
640
657
/// types. So it's normal if you see usage of types like `u16` in there.
641
658
///
659
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
642
660
mod prim_u32 { }
643
661
644
662
#[ doc( primitive = "u64" ) ]
@@ -650,6 +668,7 @@ mod prim_u32 { }
650
668
/// However, please note that examples are shared between primitive integer
651
669
/// types. So it's normal if you see usage of types like `u8` in there.
652
670
///
671
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
653
672
mod prim_u64 { }
654
673
655
674
#[ doc( primitive = "u128" ) ]
@@ -661,6 +680,7 @@ mod prim_u64 { }
661
680
/// However, please note that examples are shared between primitive integer
662
681
/// types. So it's normal if you see usage of types like `u8` in there.
663
682
///
683
+ #[ unstable( feature = "i128" , issue="35118" ) ]
664
684
mod prim_u128 { }
665
685
666
686
#[ doc( primitive = "isize" ) ]
@@ -672,6 +692,7 @@ mod prim_u128 { }
672
692
/// However, please note that examples are shared between primitive integer
673
693
/// types. So it's normal if you see usage of types like `usize` in there.
674
694
///
695
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
675
696
mod prim_isize { }
676
697
677
698
#[ doc( primitive = "usize" ) ]
@@ -683,4 +704,5 @@ mod prim_isize { }
683
704
/// However, please note that examples are shared between primitive integer
684
705
/// types. So it's normal if you see usage of types like `isize` in there.
685
706
///
707
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
686
708
mod prim_usize { }
0 commit comments