]> git.lizzy.rs Git - rust.git/commit
Forbid the Sized bound on unsized types
authorNick Cameron <ncameron@mozilla.com>
Thu, 28 Aug 2014 06:50:00 +0000 (18:50 +1200)
committerNick Cameron <ncameron@mozilla.com>
Thu, 28 Aug 2014 06:50:00 +0000 (18:50 +1200)
commitbdfeb65585a5d6aa4bda0f73f12d4d57d167f322
tree53cb19d09d16eee8c240f79b4a4dd5cf343b3624
parentf2b87e9ff0ffa1e08556bf8f41058f1caeb99ac6
Forbid the Sized bound on unsized types

closes #16800
src/librustc/diagnostics.rs
src/librustc/middle/kind.rs
src/test/compile-fail/bad-sized.rs [new file with mode: 0644]