diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2020-10-19 15:38:11 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2021-02-15 14:27:12 +0100 |
| commit | 696b239f72350ce2a647ede1a330039d0e0ecfa9 (patch) | |
| tree | 8092d539513e303265fcd90065a8291244c93863 /compiler/rustc_span/src | |
| parent | 9503ea19edbf01b9435e80e17d60ce1b88390116 (diff) | |
| download | rust-696b239f72350ce2a647ede1a330039d0e0ecfa9.tar.gz rust-696b239f72350ce2a647ede1a330039d0e0ecfa9.zip | |
Add `ptr::Pointee` trait (for all types) and `ptr::metadata` function
RFC: https://github.com/rust-lang/rfcs/pull/2580
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index ef062da3f6e..d35d179a8dd 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -476,6 +476,7 @@ symbols! { dropck_eyepatch, dropck_parametricity, dylib, + dyn_metadata, dyn_trait, edition_macro_pats, eh_catch_typeinfo, @@ -710,6 +711,7 @@ symbols! { memory, message, meta, + metadata_type, min_align_of, min_align_of_val, min_const_fn, @@ -832,6 +834,7 @@ symbols! { plugin, plugin_registrar, plugins, + pointee_trait, pointer, pointer_trait, pointer_trait_fmt, |
