Add missing documentation for FileNameDisplayPreference variants
This commit is contained in:
parent
c0784109da
commit
550f579816
@ -298,7 +298,11 @@ impl From<PathBuf> for FileName {
|
|||||||
|
|
||||||
#[derive(Clone, Copy, Eq, PartialEq, Hash, Debug)]
|
#[derive(Clone, Copy, Eq, PartialEq, Hash, Debug)]
|
||||||
pub enum FileNameDisplayPreference {
|
pub enum FileNameDisplayPreference {
|
||||||
|
/// Display the path after the application of rewrite rules provided via `--remap-path-prefix`.
|
||||||
|
/// This is appropriate for paths that get embedded into files produced by the compiler.
|
||||||
Remapped,
|
Remapped,
|
||||||
|
/// Display the path before the application of rewrite rules provided via `--remap-path-prefix`.
|
||||||
|
/// This is appropriate for use in user-facing output (such as diagnostics).
|
||||||
Local,
|
Local,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user