Skip to content

Commit

Permalink
Auto merge of #14220 - lowr:fix/ci-pointer-offset-is-unstable, r=lnicola
Browse files Browse the repository at this point in the history
minor: Don't use unstable `pointer` link

Our CI is failing because rustdoc is complaining we're using [unstable](rust-lang/rust#80896) `pointer` link.
  • Loading branch information
bors committed Feb 28, 2023
2 parents 1d07c5b + b5a1ddf commit 7f01ae8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/hir-ty/src/mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,8 @@ pub enum Rvalue {
/// `ArrayToPointer` and `MutToConstPointer` are special.
Cast(CastKind, Operand, Ty),

/// * `Offset` has the same semantics as [`offset`](pointer::offset), except that the second
// FIXME link to `pointer::offset` when it hits stable.
/// * `Offset` has the same semantics as `pointer::offset`, except that the second
/// parameter may be a `usize` as well.
/// * The comparison operations accept `bool`s, `char`s, signed or unsigned integers, floats,
/// raw pointers, or function pointers and return a `bool`. The types of the operands must be
Expand Down

0 comments on commit 7f01ae8

Please sign in to comment.