Closed
Description
rustc @ bd39bbb4bb92df439bf6d85470e296cc6a47ffbd compiled with debug assertions and cranelift
rustc -Zcodegen-backend=cranelift file.rs
#![crate_type="lib"]
use std::{collections::HashMap, hash::Hash};
struct C;
trait Ctx {
type BindGroupId;
}
impl Ctx for C {
type BindGroupId = u32;
}
pub struct BindGroup {
_id: <C as Ctx>::BindGroupId,
}
pub fn insert(map: &mut HashMap<*const BindGroup, u32>, bind_group: *const BindGroup) {
map.insert(bind_group, 1);
}
Stacktrace does not fit 🙄
Metadata
Metadata
Assignees
Labels
No labels