Rollup merge of #121328 - ffmancera:ff/verbose_long_type, r=compiler-errors
Make --verbose imply -Z write-long-types-to-disk=no When shortening the type it is necessary to take into account the `--verbose` flag, if it is activated, we must always show the entire type and not write it in a file. Fixes: https://github.com/rust-lang/rust/issues/119130
This commit is contained in:
commit
4a205bba5e
5 changed files with 24 additions and 1 deletions
|
@ -1935,6 +1935,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
|
|||
"the full type name has been written to '{}'",
|
||||
path.display(),
|
||||
));
|
||||
diag.note(format!("consider using `--verbose` to print the full type name to the console"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue