diff options
| author | bors <bors@rust-lang.org> | 2023-02-28 12:27:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-28 12:27:49 +0000 |
| commit | 7f01ae877dfd26277a52630c9e40724db23ff8fc (patch) | |
| tree | e4188d87650b79e1927e4bcc000a2fdd1d24483f | |
| parent | 1d07c5bc25599a6b823db3c70db69519177b019c (diff) | |
| parent | b5a1ddf77cc0e0713af90100b3cdd80421f00435 (diff) | |
| download | rust-7f01ae877dfd26277a52630c9e40724db23ff8fc.tar.gz rust-7f01ae877dfd26277a52630c9e40724db23ff8fc.zip | |
Auto merge of #14220 - lowr:fix/ci-pointer-offset-is-unstable, r=lnicola
minor: Don't use unstable `pointer` link Our CI is failing because rustdoc is complaining we're using [unstable](https://github.com/rust-lang/rust/issues/80896) `pointer` link.
| -rw-r--r-- | crates/hir-ty/src/mir.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir-ty/src/mir.rs b/crates/hir-ty/src/mir.rs index 00fa6b79522..140caad5456 100644 --- a/crates/hir-ty/src/mir.rs +++ b/crates/hir-ty/src/mir.rs @@ -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 |
