We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab66c3f commit c94bafbCopy full SHA for c94bafb
compiler/rustc_codegen_cranelift/src/vtable.rs
@@ -74,7 +74,7 @@ pub(crate) fn get_vtable<'tcx>(
74
} else {
75
let vtable_alloc_id = match fx.tcx.vtable_allocation(ty, trait_ref) {
76
Ok(alloc) => alloc,
77
- Err(_) => fx.tcx.sess().fatal("allocation of constant vtable failed"),
+ Err(_) => fx.tcx.sess.fatal("allocation of constant vtable failed"),
78
};
79
let vtable_allocation = fx.tcx.global_alloc(vtable_alloc_id).unwrap_memory();
80
let vtable_ptr = pointer_for_allocation(fx, vtable_allocation);
0 commit comments