Add ptr::Pointee trait (for all types) and ptr::metadata function

RFC: https://github.com/rust-lang/rfcs/pull/2580
This commit is contained in:
Simon Sapin
2020-10-19 15:38:11 +02:00
parent 9503ea19ed
commit 696b239f72
17 changed files with 349 additions and 10 deletions

View File

@@ -133,6 +133,7 @@
#![feature(stmt_expr_attributes)]
#![feature(str_split_as_str)]
#![feature(str_split_inclusive_as_str)]
#![feature(trait_alias)]
#![feature(transparent_unions)]
#![feature(try_blocks)]
#![feature(unboxed_closures)]