Generalized base::coerce_unsized_into
This commit is contained in:
committed by
Eduard-Mihai Burtescu
parent
78dd95f4c7
commit
cbe31a4229
@@ -10,12 +10,13 @@
|
||||
|
||||
use rustc::ty::layout::{HasTyCtxt, LayoutOf, TyLayout};
|
||||
use rustc::ty::Ty;
|
||||
use std::fmt::Debug;
|
||||
|
||||
use super::CodegenObject;
|
||||
|
||||
pub trait BackendTypes {
|
||||
type Value: Debug + PartialEq + Copy;
|
||||
type Value: CodegenObject;
|
||||
type BasicBlock;
|
||||
type Type: Debug + PartialEq + Copy;
|
||||
type Type: CodegenObject;
|
||||
type Context;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user