-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change DefId to be based on a path, and not a NodeId #28742
Commits on Oct 1, 2015
-
Configuration menu - View commit details
-
Copy full SHA for dc4a4ad - Browse repository at this point
Copy the full SHA dc4a4adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd139f - Browse repository at this point
Copy the full SHA 2dd139fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ff4f57 - Browse repository at this point
Copy the full SHA 9ff4f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa40a1c - Browse repository at this point
Copy the full SHA aa40a1cView commit details -
move direct accesses of
node
to go throughas_local_node_id
, unlessthey are being used as an opaque "position identifier"
Configuration menu - View commit details
-
Copy full SHA for 5600c62 - Browse repository at this point
Copy the full SHA 5600c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd5ffa - Browse repository at this point
Copy the full SHA 1dd5ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb784b7 - Browse repository at this point
Copy the full SHA cb784b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ce1eb - Browse repository at this point
Copy the full SHA 95ce1ebView commit details -
Make calling def_id on a DefSelfTy an error; the previous defids that
were returned, either the trait or the *self type itself*, were not particularly representative of what the Def is (a type parameter). Rewrite paths to handle this case specially, just as they handle the primitive case specifically. This entire `def_id` codepath is kind of a mess.
Configuration menu - View commit details
-
Copy full SHA for 3b1399d - Browse repository at this point
Copy the full SHA 3b1399dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0dc2d9 - Browse repository at this point
Copy the full SHA a0dc2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b0eb0 - Browse repository at this point
Copy the full SHA d7b0eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a25db - Browse repository at this point
Copy the full SHA 34a25dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fee06 - Browse repository at this point
Copy the full SHA a6fee06View commit details -
Convert DefId to use DefIndex, which is an index into a list of
paths, and construct paths for all definitions. Also, stop rewriting DefIds for closures, and instead just load the closure data from the original def-id, which may be in another crate.
Configuration menu - View commit details
-
Copy full SHA for 01f32ac - Browse repository at this point
Copy the full SHA 01f32acView commit details -
convert the creepy case to just return None -- in practice, it would
have always been returning None anyway, since it was comparing node-ids across crates incorrectly -- and remove the now unused map `extern_const_variants`
Configuration menu - View commit details
-
Copy full SHA for 52a0283 - Browse repository at this point
Copy the full SHA 52a0283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bfdf37 - Browse repository at this point
Copy the full SHA 6bfdf37View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0dc7bd - Browse repository at this point
Copy the full SHA f0dc7bdView commit details