mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Support Pointee
trait
This commit is contained in:
parent
689f964f5f
commit
527dfede48
7 changed files with 71 additions and 29 deletions
|
@ -42,6 +42,7 @@
|
|||
//! panic: fmt
|
||||
//! phantom_data:
|
||||
//! pin:
|
||||
//! pointee:
|
||||
//! range:
|
||||
//! result:
|
||||
//! send: sized
|
||||
|
@ -368,6 +369,14 @@ pub mod ptr {
|
|||
*dst = src;
|
||||
}
|
||||
// endregion:drop
|
||||
|
||||
// region:pointee
|
||||
#[lang = "pointee_trait"]
|
||||
pub trait Pointee {
|
||||
#[lang = "metadata_type"]
|
||||
type Metadata;
|
||||
}
|
||||
// endregion:pointee
|
||||
}
|
||||
|
||||
pub mod ops {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue