]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0328.rs
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
[rust.git] / src / test / ui / error-codes / E0328.rs
1 #![feature(unsize)]
2
3 use std::marker::Unsize;
4
5 pub struct MyType;
6
7 impl<T> Unsize<T> for MyType {}
8 //~^ ERROR explicit impls for the `Unsize` trait are not permitted [E0328]
9
10 fn main() {}