]> git.lizzy.rs Git - rust.git/commit
add separate errors for out-of-place associated consts and types
authorAndrew Paseltiner <apaseltiner@gmail.com>
Sat, 18 Jul 2015 23:56:15 +0000 (19:56 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Sun, 19 Jul 2015 19:32:24 +0000 (15:32 -0400)
commitce856a55f6585969580d95cf773de5703ded7f09
treee7c70a718c8ab6cbea4c7736bc64d9058dfaf1fa
parenta27fed7cbd9d5e2a2f025c226dd48bb0c4bbbb20
add separate errors for out-of-place associated consts and types

Previously, these would both be labeled as methods.
src/librustc_resolve/diagnostics.rs
src/librustc_resolve/lib.rs
src/test/compile-fail/trait-impl-can-not-have-untraitful-items.rs [new file with mode: 0644]
src/test/compile-fail/trait-impl-can-not-have-untraitful-methods.rs [deleted file]