Skip to content

Commit af332ac

Browse files
authored
Merge pull request #50 from rust-lang/skill-tree
Skill tree additions and restructurings
2 parents 70ef610 + 13c23ef commit af332ac

File tree

1 file changed

+74
-35
lines changed

1 file changed

+74
-35
lines changed

src/skill_tree.md

Lines changed: 74 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
```skill-tree
44
[[group]]
55
name = "mut_ref"
6-
label = "mutable references"
6+
label = "mutable references in\nconst fn\nfeature:const_mut_refs"
77
href = "https://github.com/rust-lang/rust/issues/57349"
88
items = []
99
1010
[[group]]
1111
name = "const_mut_ref"
12-
label = "constants with mutable\nreferences in their final value"
12+
label = "mutable references in\ninitializers of const items"
1313
href = "https://github.com/rust-lang/rust/issues/71212"
1414
requires = ["mut_ref"]
1515
items = []
@@ -60,28 +60,63 @@ items = []
6060
6161
[[group]]
6262
name = "ptr-is-null"
63-
label = "<*T>::is_null"
63+
label = "<*T>::is_null\nfeature:const_ptr_is_null"
6464
requires = ["fuzzy-ptr-comparisons"]
65+
href = "https://github.com/rust-lang/rust/issues/74939"
6566
items = []
6667
6768
[[group]]
6869
name = "fuzzy-ptr-comparisons"
69-
label = "guaranteed_eq and\nguaranteed_ne"
70+
label = "guaranteed_eq and\nguaranteed_ne\nfeature:const_compare_raw_pointers"
7071
href = "https://github.com/rust-lang/rust/issues/53020"
7172
requires = []
7273
items = []
7374
7475
[[group]]
7576
name = "unconst_rules"
76-
label = "Need to come up\nwith a scheme\nfor doing unsafe\nin const fn"
77+
label = "Need to come up\nwith a scheme\nfor const unsafe/unconst"
7778
items = [
78-
{ label = "transmute", href = "https://github.com/rust-lang/rust/issues/53605" }
79+
{ label = "feature:const_fn_transmute", href = "https://github.com/rust-lang/rust/issues/53605" },
80+
{ label = "feature:const_fn_union", href = "https://github.com/rust-lang/rust/issues/51909", port = "union" },
81+
{ label = "feature:const_raw_ptr_deref", href = "https://github.com/rust-lang/rust/issues/51911", port = "raw_ptr_deref" },
7982
]
8083
href = "https://github.com/rust-lang/const-eval/issues/14"
8184
85+
[[group]]
86+
name = "offset_of"
87+
label = "offset_of\nfeature:const_ptr_offset"
88+
href = "https://github.com/rust-lang/rust/issues/71499"
89+
items = []
90+
requires = [
91+
"unconst_rules:raw_ptr_deref",
92+
"raw_ref_macros",
93+
"maybe_uninit_as_ptr",
94+
"offset_from",
95+
]
96+
97+
[[group]]
98+
name = "offset_from"
99+
label = "offset_from\nfeature:ptr_offset_from"
100+
href = "https://github.com/rust-lang/rust/issues/41079"
101+
items = []
102+
103+
[[group]]
104+
name = "raw_ref_macros"
105+
label = "raw_ref maros\nfeature:raw_ref_macros"
106+
href = "https://github.com/rust-lang/rust/issues/73394"
107+
items = []
108+
109+
[[group]]
110+
name = "maybe_uninit_as_ptr"
111+
label = "MaybeUninit::as_ptr\nfeature:const_maybe_uninit_as_ptr"
112+
href = "https://github.com/rust-lang/rust/issues/75251"
113+
items = []
114+
115+
82116
[[group]]
83117
name = "question_mark"
84118
label = "using ? in const"
119+
href = "https://github.com/rust-lang/rust/issues/74935"
85120
requires = ["trait_impl"]
86121
items = []
87122
@@ -90,7 +125,13 @@ name = "mutex_new"
90125
label = "Mutex::new"
91126
href = "https://github.com/rust-lang/rust/issues/66806"
92127
items = []
93-
requires = ["final_heap", "parking_lot", "unconst_rules"]
128+
requires = ["parking_lot"]
129+
130+
[[group]]
131+
name = "parking_lot"
132+
label = "`parking_lot` in `std`"
133+
href = "https://github.com/rust-lang/rust/issues/73714"
134+
items = []
94135
95136
[[group]]
96137
name = "const_fn_in_patterns"
@@ -104,20 +145,32 @@ name = "from_str"
104145
label = "FromStr"
105146
href = "https://github.com/rust-lang/rust/issues/59133"
106147
requires = ["trait_impl"]
107-
items = [
108-
{ label = "&lt;int&gt;::from_str", port="int_parse", requires = ["iterators"] },
109-
]
148+
items = []
110149
111150
[[group]]
112-
name = "const-float"
151+
name = "float"
113152
label = "floats in const fn"
114153
href = "https://github.com/rust-lang/rust/issues/57241"
115154
items = [
116155
{ label = "from_bits" },
117156
{ label = "to_bits" },
118-
{ label = "general usage of float math,\narguments and return types" },
157+
{ label = "float math, arguments and return types" },
119158
]
120159
160+
[[group]]
161+
name = "float_classify"
162+
label = "feature:const_float_classify"
163+
href = "https://github.com/rust-lang/rust/issues/72505"
164+
items = []
165+
requires = ["float_bits_conv"]
166+
167+
[[group]]
168+
name = "float_bits_conv"
169+
label = "feature:const_float_bits_conv"
170+
href = "https://github.com/rust-lang/rust/issues/72447"
171+
items = []
172+
requires = ["float"]
173+
121174
[[group]]
122175
name = "const-assert-eq"
123176
label = "assert_eq!"
@@ -139,56 +192,42 @@ href = "https://github.com/rust-lang/rust/issues/51999"
139192
items = []
140193
141194
[[group]]
142-
label = "feature gate\nconst_panic"
195+
label = "feature:const_panic"
143196
name = "panic"
144197
href = "https://github.com/rust-lang/rust/issues/51999"
145198
items = [
146199
{ label = "assert!" },
147200
]
148201
149202
[[group]]
150-
label = "feature gate\nconst_discriminant"
203+
label = "feature:const_discriminant"
151204
name = "discriminant"
152205
href = "https://github.com/rust-lang/rust/pull/69825"
153206
items = []
154207
155208
[[group]]
156-
label = "feature gate\nconst_trait_bound_opt_out"
209+
label = "feature:const_trait_bound_opt_out"
157210
name = "trait_bound_opt_out"
158211
href = "https://github.com/rust-lang/rust/issues/67794"
159212
items = []
160213
161214
[[group]]
162-
label = "feature gate\nconst_trait_impl"
215+
label = "feature:const_trait_impl"
163216
name = "trait_impl"
164217
href="https://github.com/rust-lang/rust/issues/67792"
165218
items = [
166219
{ label = "?const trait bound opt out", href = "https://github.com/rust-lang/rust/issues/67794"}
167220
]
168221
169222
[[group]]
170-
label = "feature gate\nconst_raw_ptr_deref"
171-
name = "raw_ptr_deref"
172-
href="https://github.com/rust-lang/rust/issues/51911"
173-
items = []
174-
requires = ["unconst_rules"]
175-
176-
[[group]]
177-
label = "feature gate\nconst_raw_ptr_to_usize_cast"
223+
label = "feature:const_raw_ptr_to_usize_cast"
178224
name = "raw_ptr_to_usize_cast"
179225
href="https://github.com/rust-lang/rust/issues/51910"
180226
items = []
181227
requires = ["unconst_rules"]
182228
183229
[[group]]
184-
label = "feature gate\nconst_fn_union"
185-
name = "union"
186-
href = "https://github.com/rust-lang/rust/issues/51909"
187-
items = []
188-
requires = ["unconst_rules"]
189-
190-
[[group]]
191-
label = "feature gate\nconst_extern_fn"
230+
label = "feature:const_extern_fn"
192231
name = "extern_const_fn"
193232
href = "https://github.com/rust-lang/rust/issues/64926"
194233
items = []
@@ -222,7 +261,7 @@ requires = ["vec"]
222261
label = "Vec operations"
223262
name = "vec"
224263
items = []
225-
requires = ["mut_ref", "heap", "trait_impl", "drop", "raw_ptr_deref"]
264+
requires = ["mut_ref", "heap", "trait_impl", "drop", "unconst_rules:raw_ptr_deref"]
226265
227266
[[group]]
228267
label = "Drop"
@@ -234,11 +273,11 @@ requires = ["mut_ref", "trait_impl"]
234273
label = "ptr::copy_nonoverlapping"
235274
name = "copy_nonoverlapping"
236275
items = []
237-
requires = ["raw_ptr_deref", "mut_ref"]
276+
requires = ["unconst_rules:raw_ptr_deref", "mut_ref"]
238277
239278
[[group]]
240279
label = "async functions\nand blocks"
241-
name = "asnyc"
280+
name = "async"
242281
items = []
243282
href = "https://github.com/rust-lang/rust/issues/69431"
244283
requires = ["trait_impl"]

0 commit comments

Comments
 (0)