Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 7 pull requests #121383

Merged
merged 18 commits into from
Feb 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
6150991
make "custom attribute panicked" translatable
tshepang Feb 19, 2024
f68682f
make "proc-macro derive panicked" translatable
tshepang Feb 20, 2024
e54ef0a
Make --verbose imply -Z write-long-types-to-disk=no
ffmancera Feb 20, 2024
ad14a22
Update panic message for missing `//@ run-rustfix` ui test suite when…
jieyouxu Feb 20, 2024
4d386d9
Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeInco…
jieyouxu Feb 20, 2024
0195f21
diagnostic items for legacy numeric modules
pitaj Feb 20, 2024
e35481f
Suggest using --verbose when writing type to a file
ffmancera Feb 20, 2024
010f394
Convert `delayed_bug`s to `bug`s.
nnethercote Feb 16, 2024
2903bbb
Convert `bug`s back to `delayed_bug`s.
nnethercote Feb 19, 2024
3da200d
print proper relative path for descriptive name check
chenyukang Feb 21, 2024
62e7414
Docs for extension proc-macro
compiler-errors Feb 19, 2024
d5206c6
Rollup merge of #121208 - nnethercote:delayed_bug-to-bug, r=lcnr
Dylan-DPC Feb 21, 2024
4840785
Rollup merge of #121288 - tshepang:make-expand-translatable, r=michae…
Dylan-DPC Feb 21, 2024
94e459f
Rollup merge of #121304 - compiler-errors:ext, r=nnethercote
Dylan-DPC Feb 21, 2024
4a205bb
Rollup merge of #121328 - ffmancera:ff/verbose_long_type, r=compiler-…
Dylan-DPC Feb 21, 2024
e10b3b8
Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons…
Dylan-DPC Feb 21, 2024
860ad7c
Rollup merge of #121361 - pitaj:diag_items-legacy_numeric_constants, …
Dylan-DPC Feb 21, 2024
229108a
Rollup merge of #121375 - chenyukang:yukang-fix-tidy, r=albertlarsan68
Dylan-DPC Feb 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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: #119130
  • Loading branch information
ffmancera committed Feb 20, 2024
commit e54ef0a7ab42f6af8804632b1b5858c606fe1c3c
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ impl<'tcx> TyCtxt<'tcx> {
})
.expect("could not write to `String`");

if !self.sess.opts.unstable_opts.write_long_types_to_disk {
if !self.sess.opts.unstable_opts.write_long_types_to_disk || self.sess.opts.verbose {
return regular;
}

Expand Down
Loading