File tree Expand file tree Collapse file tree 6 files changed +10
-1
lines changed Expand file tree Collapse file tree 6 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32
32
refs/heads/beta: 9854143cba679834bc4ef932858cd5303f015a0e
33
33
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
34
34
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35
- refs/heads/tmp: 03d3ba7667ed9599f46b742ac314a43297d76b19
35
+ refs/heads/tmp: 35c261aea0d891d31b3fda83da653cb1e385681f
36
36
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
37
37
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
38
38
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ pub static HEAP: () = ();
86
86
/// See the [module-level documentation](../../std/boxed/index.html) for more.
87
87
#[ lang = "owned_box" ]
88
88
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
89
+ #[ fundamental]
89
90
pub struct Box < T > ( Unique < T > ) ;
90
91
91
92
impl < T > Box < T > {
Original file line number Diff line number Diff line change 71
71
#![ feature( no_std) ]
72
72
#![ no_std]
73
73
#![ feature( allocator) ]
74
+ #![ feature( custom_attribute) ]
75
+ #![ feature( fundamental) ]
74
76
#![ feature( lang_items, unsafe_destructor) ]
75
77
#![ feature( box_syntax) ]
76
78
#![ feature( optin_builtin_traits) ]
Original file line number Diff line number Diff line change 70
70
#![ feature( unboxed_closures) ]
71
71
#![ feature( rustc_attrs) ]
72
72
#![ feature( optin_builtin_traits) ]
73
+ #![ feature( fundamental) ]
73
74
#![ feature( concat_idents) ]
74
75
#![ feature( reflect) ]
76
+ #![ feature( custom_attribute) ]
75
77
76
78
#[ macro_use]
77
79
mod macros;
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ impl !Send for Managed { }
49
49
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
50
50
#[ lang="sized" ]
51
51
#[ rustc_on_unimplemented = "`{Self}` does not have a constant size known at compile-time" ]
52
+ #[ fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
52
53
pub trait Sized : MarkerTrait {
53
54
// Empty.
54
55
}
Original file line number Diff line number Diff line change @@ -1117,6 +1117,7 @@ impl<'a, T: ?Sized> DerefMut for &'a mut T {
1117
1117
#[ lang="fn" ]
1118
1118
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1119
1119
#[ rustc_paren_sugar]
1120
+ #[ fundamental] // so that regex can rely that `&str: !FnMut`
1120
1121
pub trait Fn < Args > : FnMut < Args > {
1121
1122
/// This is called when the call operator is used.
1122
1123
extern "rust-call" fn call ( & self , args : Args ) -> Self :: Output ;
@@ -1126,6 +1127,7 @@ pub trait Fn<Args> : FnMut<Args> {
1126
1127
#[ lang="fn_mut" ]
1127
1128
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1128
1129
#[ rustc_paren_sugar]
1130
+ #[ fundamental] // so that regex can rely that `&str: !FnMut`
1129
1131
pub trait FnMut < Args > : FnOnce < Args > {
1130
1132
/// This is called when the call operator is used.
1131
1133
extern "rust-call" fn call_mut ( & mut self , args : Args ) -> Self :: Output ;
@@ -1135,6 +1137,7 @@ pub trait FnMut<Args> : FnOnce<Args> {
1135
1137
#[ lang="fn_once" ]
1136
1138
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1137
1139
#[ rustc_paren_sugar]
1140
+ #[ fundamental] // so that regex can rely that `&str: !FnMut`
1138
1141
pub trait FnOnce < Args > {
1139
1142
/// The returned type after the call operator is used.
1140
1143
type Output ;
You can’t perform that action at this time.
0 commit comments