Skip to content

Commit 7d1d1b3

Browse files
committed
Split up UB features into their own nodes and update URLs to RFC
1 parent e630783 commit 7d1d1b3

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

src/skill_tree.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,37 @@ items = []
8080
8181
[[group]]
8282
name = "unconst_rules"
83-
label = "Need to come up\nwith a scheme\nfor const unsafe/unconst"
84-
items = [
85-
{ label = "feature:const_fn_transmute", href = "https://github.com/rust-lang/rust/issues/53605" },
86-
{ label = "feature:const_fn_union", href = "https://github.com/rust-lang/rust/issues/51909", port = "union" },
87-
{ label = "feature:const_raw_ptr_deref", href = "https://github.com/rust-lang/rust/issues/51911", port = "raw_ptr_deref" },
88-
]
89-
href = "https://github.com/rust-lang/const-eval/issues/14"
83+
label = "UB in CTFE"
84+
href = "https://github.com/rust-lang/rfcs/pull/3016"
85+
items = []
86+
87+
[[group]]
88+
name = "transmute"
89+
label = "feature:const_fn_transmute"
90+
items = []
91+
requires = ["unconst_rules"]
92+
href = "https://github.com/rust-lang/rust/issues/53605"
93+
94+
[[group]]
95+
name = "union"
96+
label = "feature:const_fn_union"
97+
items = []
98+
requires = ["unconst_rules"]
99+
href = "https://github.com/rust-lang/rust/issues/51909"
100+
101+
[[group]]
102+
name = "raw_ptr_deref"
103+
label = "feature:const_raw_ptr_deref"
104+
items = []
105+
requires = ["unconst_rules"]
106+
href = "https://github.com/rust-lang/rust/issues/51911"
90107
91108
[[group]]
92109
name = "offset_of"
93110
label = "offset_of"
94111
items = []
95112
requires = [
96-
"unconst_rules:raw_ptr_deref",
113+
"raw_ptr_deref",
97114
"raw_ref_macros",
98115
"maybe_uninit_as_ptr",
99116
"offset_from",
@@ -273,7 +290,7 @@ requires = ["vec"]
273290
label = "Vec operations"
274291
name = "vec"
275292
items = []
276-
requires = ["mut_ref", "heap", "trait_impl", "drop", "unconst_rules:raw_ptr_deref"]
293+
requires = ["mut_ref", "heap", "trait_impl", "drop", "raw_ptr_deref"]
277294
278295
[[group]]
279296
label = "Drop"
@@ -285,7 +302,7 @@ requires = ["mut_ref", "trait_impl"]
285302
label = "ptr::copy_nonoverlapping"
286303
name = "copy_nonoverlapping"
287304
items = []
288-
requires = ["unconst_rules:raw_ptr_deref", "mut_ref"]
305+
requires = ["raw_ptr_deref", "mut_ref"]
289306
290307
[[group]]
291308
label = "async functions\nand blocks"

0 commit comments

Comments
 (0)