mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
add ModuleDef::BuiltInType
This commit is contained in:
parent
6b88735fe6
commit
e6545cc647
5 changed files with 61 additions and 10 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue