Skip to content
Permalink
Browse files

Update ui tests

  • Loading branch information...
oli-obk committed May 11, 2019
1 parent 825cfdb commit dd327951eb61b95e28649768ae7e67aaba4e2ece
@@ -1,4 +1,4 @@
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1083:5
thread 'rustc' panicked at 'assertion failed: rows.iter().all(|r| r.len() == v.len())', src/librustc_mir/hair/pattern/_match.rs:1085:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

error: internal compiler error: unexpected panic
@@ -0,0 +1,14 @@
#![feature(rustc_attrs)]
#![allow(dead_code)]

trait Foo {
fn baz();
}

impl Foo for [u8; 1 + 2] {
#[rustc_def_path] //~ ERROR def-path(<[u8; _] as Foo>::baz)
fn baz() { }
}

fn main() {
}
@@ -0,0 +1,8 @@
error: def-path(<[u8; _] as Foo>::baz)
--> $DIR/impl2.rs:9:5
|
LL | #[rustc_def_path]
| ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

0 comments on commit dd32795

Please sign in to comment.
You can’t perform that action at this time.