File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1- thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1083 :5
1+ thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1085 :5
22note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
33
44error: internal compiler error: unexpected panic
Original file line number Diff line number Diff line change 1+ #![ feature( rustc_attrs) ]
2+ #![ allow( dead_code) ]
3+
4+ trait Foo {
5+ fn baz ( ) ;
6+ }
7+
8+ impl Foo for [ u8 ; 1 + 2 ] {
9+ #[ rustc_def_path] //~ ERROR def-path(<[u8; _] as Foo>::baz)
10+ fn baz ( ) { }
11+ }
12+
13+ fn main ( ) {
14+ }
Original file line number Diff line number Diff line change 1+ error: def-path(<[u8; _] as Foo>::baz)
2+ --> $DIR/impl2.rs:9:5
3+ |
4+ LL | #[rustc_def_path]
5+ | ^^^^^^^^^^^^^^^^^
6+
7+ error: aborting due to previous error
8+
You can’t perform that action at this time.
0 commit comments