update doc comment
This commit is contained in:
parent
39f66baa68
commit
b62e72ce8c
1 changed files with 4 additions and 2 deletions
|
@ -579,7 +579,8 @@ pub struct CopyNonOverlapping<'tcx> {
|
||||||
pub count: Operand<'tcx>,
|
pub count: Operand<'tcx>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents how a [`TerminatorKind::Call`] was constructed, used for diagnostics.
|
/// Represents how a [`TerminatorKind::Call`] was constructed.
|
||||||
|
/// Used only for diagnostics.
|
||||||
#[derive(Clone, Copy, TyEncodable, TyDecodable, Debug, PartialEq, Hash, HashStable)]
|
#[derive(Clone, Copy, TyEncodable, TyDecodable, Debug, PartialEq, Hash, HashStable)]
|
||||||
#[derive(TypeFoldable, TypeVisitable)]
|
#[derive(TypeFoldable, TypeVisitable)]
|
||||||
pub enum CallSource {
|
pub enum CallSource {
|
||||||
|
@ -1419,7 +1420,8 @@ pub enum CastKind {
|
||||||
Transmute,
|
Transmute,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents how a [`CastKind::PointerCoercion`] was constructed, used for diagnostics.
|
/// Represents how a [`CastKind::PointerCoercion`] was constructed.
|
||||||
|
/// Used only for diagnostics.
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
|
||||||
pub enum CoercionSource {
|
pub enum CoercionSource {
|
||||||
/// The coercion was manually written by the user with an `as` cast.
|
/// The coercion was manually written by the user with an `as` cast.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue