-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
remove some things that do not need to be #123599
Conversation
HIR ty lowering was modified cc @fmease |
let file_note = file.as_ref().map(|file| format!( | ||
"the full trait has been written to '{}'", | ||
file.display(), | ||
)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, do we lose a diagnostic for where the trait has been written to if we remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aaaah I'll double check.
It looks like we don't have any tests here actually.
@rustbot author |
@@ -625,7 +621,6 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> { | |||
return err.emit(); | |||
} | |||
|
|||
file_note.map(|note| err.note(note)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, I think we might lose a file note here
@bors r+ |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#123599 (remove some things that do not need to be) - rust-lang#123763 (Set the host library path in run-make v2) - rust-lang#123775 (Make `PlaceRef` and `OperandValue::Ref` share a common `PlaceValue` type) - rust-lang#123789 (move QueryKeyStringCache from rustc_middle to rustc_query_impl, where it actually used) - rust-lang#123826 (Move rare overflow error to a cold function) - rust-lang#123827 (linker: Avoid some allocations in search directory iteration) - rust-lang#123829 (Fix revisions syntax in cfg(ub_checks) test) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#123599 - matthiaskrgr:rm, r=cjgillot remove some things that do not need to be
No description provided.