]> git.lizzy.rs Git - rust.git/commit
move ExplicitSelf to rustc::ty::util, and use it to implement object safety checks
authorMichael Hewson <michael@michaelhewson.ca>
Wed, 8 Nov 2017 10:27:39 +0000 (05:27 -0500)
committerMichael Hewson <michael@michaelhewson.ca>
Wed, 8 Nov 2017 10:27:39 +0000 (05:27 -0500)
commit3902643c27e961baf79240f0d489f354ea880ffb
tree2a5cd451dfdb74d059dcd860bcb1df285db8c4d9
parent0b27dcc665c846d32db0b6da59dcf7ee1da5b02c
move ExplicitSelf to rustc::ty::util, and use it to implement object safety checks
src/librustc/traits/object_safety.rs
src/librustc/ty/util.rs
src/librustc_typeck/astconv.rs
src/librustc_typeck/check/compare_method.rs
src/librustc_typeck/check/wfcheck.rs
src/test/compile-fail/arbitrary-self-types-not-object-safe.rs