]> git.lizzy.rs Git - rust.git/commit
add def-ids from nominal types into TraitSelect
authorNiko Matsakis <niko@alum.mit.edu>
Sat, 28 May 2016 01:19:11 +0000 (21:19 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 31 May 2016 23:59:57 +0000 (19:59 -0400)
commit4038b5b3eee3d26e07ec49b2e697975307488d67
tree216df0247f29f7278fb125a456e7d0d1e0d76af1
parent63bb0847bdf58d7d021735184a9dfd48138ad8ab
add def-ids from nominal types into TraitSelect

This way we distinguish, in particular, `Foo: Sized`
and `Bar: Sized`, which fixes #33850.
src/librustc/ty/mod.rs
src/test/incremental/struct_add_field.rs
src/test/incremental/struct_change_field_name.rs
src/test/incremental/struct_change_field_type.rs
src/test/incremental/struct_change_field_type_cross_crate/b.rs
src/test/incremental/struct_remove_field.rs