Location
I searched for FatalError in the rustc docs: https://doc.rust-lang.org/nightly/nightly-rustc/?search=fatalerror
The first two results are the interesting ones: rustc_errors::FatalError and rustc_span::fatal_error::FatalError
When opening the rustc_span::fatal_error::FatalError page, the associated method raise is shown:

When opening the rustc_errors::FatalError, the method won't show up:

This looks like a bug to me, because you can call the public method through the public export, so that method should either be documented or a page forward should happen to the original struct.
Location
I searched for
FatalErrorin the rustc docs: https://doc.rust-lang.org/nightly/nightly-rustc/?search=fatalerrorThe first two results are the interesting ones:
rustc_errors::FatalErrorandrustc_span::fatal_error::FatalErrorWhen opening the

rustc_span::fatal_error::FatalErrorpage, the associated methodraiseis shown:When opening the

rustc_errors::FatalError, the method won't show up:This looks like a bug to me, because you can call the public method through the public export, so that method should either be documented or a page forward should happen to the original struct.