add ModuleDef::BuiltInType

This commit is contained in:
Aleksey Kladov 2019-05-30 14:05:35 +03:00
parent 6b88735fe6
commit e6545cc647
5 changed files with 61 additions and 10 deletions

View file

@ -6,7 +6,7 @@
//! applied. So, the relation between syntax and HIR is many-to-one.
macro_rules! impl_froms {
($e:ident: $($v:ident), *) => {
($e:ident: $($v:ident),*) => {
$(
impl From<$v> for $e {
fn from(it: $v) -> $e {
@ -80,5 +80,6 @@ pub use self::code_model::{
Function, FnSignature,
StructField, FieldSource,
Static, Const, ConstSignature,
Trait, TypeAlias, MacroDef, Container
Trait, TypeAlias, MacroDef, Container,
BuiltinType,
};