rust/src/librustc_resolve
Alex Crichton 0cdc58a1bc rustc: Store InternedString in `DefPathData`
Previously a `Symbol` was stored there, but this ended up causing hash
collisions in situations that otherwise shouldn't have a hash collision. Only
the symbol's string value was hashed, but it was possible for distinct symbols
to have the same string value, fooling various calcuations into thinking that
these paths *didn't* need disambiguating data when in fact they did!

By storing `InternedString` instead we're hopefully triggering all the exising
logic to disambiguate paths with same-name `Symbol` but actually distinct
locations.
2017-09-05 07:47:27 -07:00
..
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
build_reduced_graph.rs rustc: Store InternedString in `DefPathData` 2017-09-05 07:47:27 -07:00
check_unused.rs Address review comments, second turn 2017-08-27 19:02:24 +09:00
diagnostics.rs Remove more anonymous trait method parameters 2017-07-08 01:56:27 +03:00
lib.rs Make fields of `Span` private 2017-08-30 01:38:54 +03:00
macros.rs rustc: Flag some CrateStore methods as "untracked" 2017-09-05 07:37:39 -07:00
resolve_imports.rs rustc: Flag some CrateStore methods as "untracked" 2017-09-05 07:37:39 -07:00