Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImpls for aliased types are ignored #2778
Comments
Undin
added
type inference & resolve
bug
labels
Aug 19, 2018
This comment has been minimized.
This comment has been minimized.
z2665
commented
Aug 22, 2018
I get the same problem. When I use libc. the type aliases, like pub type c_int = i32; can't recognized by intellisense |
vlad20012
changed the title
IDE IntelliSense do not recognize Rust type aliases.
Impls for aliased types are ignored
Aug 22, 2018
This comment has been minimized.
This comment has been minimized.
IDEA cannot recognize aliased types totally... and Impls to. |
This comment has been minimized.
This comment has been minimized.
@cheblin m? It isn't truth. We support type aliases in all cases except impls for aliased types. If you bumped into a bug, please, provide more info. |
This comment has been minimized.
This comment has been minimized.
vlad20012
referenced this issue
Aug 26, 2018
Merged
ANN: fixed AddStructFieldsFix for aliased structs #2797
bot
added a commit
that referenced
this issue
Aug 26, 2018
This comment has been minimized.
This comment has been minimized.
bors
bot
closed this
in
#2797
Aug 26, 2018
Undin
reopened this
Aug 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cheblin commentedAug 19, 2018
•
edited
Environment
Build #IU-182.4129.26, built on August 16, 2018
Licensed to Sirguy Chikirev
Subscription is active until March 21, 2019
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Problem description
IDE IntelliSense do not recognize Rust type aliases.
Steps to reproduce
create default executable Rust project, and insert this snippet.
but the code is correct and compile / executed properly.