Conversation
|
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
|
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
| } | ||
|
|
||
| impl UnsafetyViolationDetails { | ||
| pub fn description_and_note(&self) -> (&'static str, &'static str) { |
There was a problem hiding this comment.
Big nice function but no usage, sus.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
davidtwco
left a comment
There was a problem hiding this comment.
LGTM, r=me after the two comments are addressed
| return false; | ||
| } | ||
| let pin_did = self.tcx.lang_items().pin_type(); | ||
| // FIXME: replace mk_box with? |
There was a problem hiding this comment.
There still no unwrap here, should it be This guards the new_box below. or remove comment completely?
There was a problem hiding this comment.
added review commit.
|
☔ The latest upstream changes (presumably #118143) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Rebased, should i squash? |
|
☔ The latest upstream changes (presumably #118178) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors r+ rollup |
remove unused pub fns This removes some unused `pub fn`; also fixes few obsoleted fn names or added fixmes with reminders to update them.
…llaumeGomez Rollup of 6 pull requests Successful merges: - rust-lang#116446 (Yeet `mir::Const::from_anon_const`) - rust-lang#117871 (remove unused pub fns) - rust-lang#118017 (rustc_lint: address latent TODO) - rust-lang#118199 (Remove `HirId` from `QPath::LangItem`) - rust-lang#118272 (resolve: Avoid clones of `MacroData`) - rust-lang#118291 (rustdoc-search: clean up some DOM code) Failed merges: - rust-lang#118201 (Miscellaneous `ObligationCauseCode` cleanups) - rust-lang#118256 (rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cleanup) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#117871 - klensy:unused-pub, r=cjgillot remove unused pub fns This removes some unused `pub fn`; also fixes few obsoleted fn names or added fixmes with reminders to update them.
This removes some unused
pub fn; also fixes few obsoleted fn names or added fixmes with reminders to update them.