Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 386 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
trait Resources {
type Buffer: Copy;
}
#[derive(Copy, Clone)]
struct ConstantBufferSet<R: Resources>(
pub R::Buffer
);
#[derive(Copy, Clone)]
enum It {}
impl Resources for It {
type Buffer = u8;
}
#[derive(Copy, Clone)]
enum Command {
BindConstantBuffers(ConstantBufferSet<It>)
}
fn main() {}
You can’t perform that action at this time.