• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[derive(Clone, Copy, Debug)]
2 struct Bar;
3 
4 const BAZ: Bar = Bar;
5 
6 #[derive(Debug)]
7 struct Foo([Bar; 1]);
8 
9 struct Biz;
10 
11 impl Biz {
12     const BAZ: Foo = Foo([BAZ; 1]);
13 }
14 
main()15 fn main() {
16     let _foo = Biz::BAZ;
17 }
18