tamer: xir::parse: Correct doc xrefs
These weren't causing problems until they were output as part of NIR (in a separate module). NIR is about to be committed. DEV-7145main
parent
638a9c483b
commit
c420ab2730
|
@ -255,7 +255,9 @@ macro_rules! attr_parse {
|
|||
#[doc=concat!("[`", stringify!($struct_name), "`].")]
|
||||
///
|
||||
/// This object is exposed for recovery and error reporting on
|
||||
/// [`AttrParseError::MissingRequired`].
|
||||
/// [`AttrParseError::MissingRequired`][MissingRequired].
|
||||
///
|
||||
/// [MissingRequired]: crate::xir::parse::AttrParseError::MissingRequired
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
$($vis)? struct $state_name {
|
||||
#[doc(hidden)]
|
||||
|
@ -371,6 +373,8 @@ macro_rules! attr_parse {
|
|||
impl std::fmt::Display for $state_name {
|
||||
/// Additional error context shown in diagnostic messages for
|
||||
/// certain variants of [`ParseError`].
|
||||
///
|
||||
/// [`ParseError`]: crate::parse::ParseError
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
use crate::fmt::{DisplayWrapper, TtQuote};
|
||||
|
||||
|
|
|
@ -1725,6 +1725,8 @@ macro_rules! ele_parse {
|
|||
impl $super {
|
||||
/// Whether the inner (active child) [`ParseState`] is in an
|
||||
/// accepting state.
|
||||
///
|
||||
/// [`ParseState`]: crate::parse::ParseState
|
||||
fn is_inner_accepting(
|
||||
&self,
|
||||
ctx: &<Self as crate::parse::ParseState>::Context
|
||||
|
|
Loading…
Reference in New Issue