Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/106444.sh: fixed with no errors #1588

Merged
merged 1 commit into from
May 20, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#106444

#!/bin/bash

rustc -Zmir-opt-level=3 --crate-type=lib - <<'EOF'
pub trait A {
    type B;
}

pub struct S<T: A>(T::B);

pub fn foo<T: A>(p: *mut S<T>) {
    unsafe { core::ptr::drop_in_place(p) };
}

EOF
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit 1233735 into master May 20, 2023
@JohnTitor JohnTitor deleted the autofix/ices/106444.sh branch May 20, 2023 05:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants