rename AddressOf -> RawBorrow inside the compiler
This commit is contained in:
@@ -1293,14 +1293,14 @@ pub enum Rvalue<'tcx> {
|
||||
/// nature of this operation?
|
||||
ThreadLocalRef(DefId),
|
||||
|
||||
/// Creates a pointer with the indicated mutability to the place.
|
||||
/// Creates a raw pointer with the indicated mutability to the place.
|
||||
///
|
||||
/// This is generated by pointer casts like `&v as *const _` or raw address of expressions like
|
||||
/// `&raw v` or `addr_of!(v)`.
|
||||
/// This is generated by pointer casts like `&v as *const _` or raw borrow expressions like
|
||||
/// `&raw const v`.
|
||||
///
|
||||
/// Like with references, the semantics of this operation are heavily dependent on the aliasing
|
||||
/// model.
|
||||
AddressOf(Mutability, Place<'tcx>),
|
||||
RawPtr(Mutability, Place<'tcx>),
|
||||
|
||||
/// Yields the length of the place, as a `usize`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user