Use intra-doc links for DelaySpanBugEmitted
Also improve the docs for it a bit.
This commit is contained in:
parent
57c5f40cf4
commit
1f26a18955
@ -66,8 +66,8 @@ use std::mem;
|
|||||||
use std::ops::{Bound, Deref};
|
use std::ops::{Bound, Deref};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
/// A type that is not publicly constructable. This prevents people from making `TyKind::Error`
|
/// A type that is not publicly constructable. This prevents people from making [`TyKind::Error`]s
|
||||||
/// except through `tcx.err*()`, which are in this module.
|
/// except through the error-reporting functions on a [`tcx`][TyCtxt].
|
||||||
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
|
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
|
||||||
#[derive(TyEncodable, TyDecodable, HashStable)]
|
#[derive(TyEncodable, TyDecodable, HashStable)]
|
||||||
pub struct DelaySpanBugEmitted(());
|
pub struct DelaySpanBugEmitted(());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user