Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
symbol-names
/
impl2.rs
blob: 8d103fab43ba8cdfe50df2562f6ec72aaba08d96 [
file
] [
log
] [
blame
] [
edit
]
//@ build-fail
#![
feature
(
rustc_attrs
)]
#![
allow
(
dead_code
)]
trait
Foo
{
fn
baz
();
}
impl
Foo
for
[
u8
;
1
+
2
]
{
#[
rustc_def_path
]
//~ ERROR def-path(<[u8; 1 + 2] as Foo>::baz)
fn
baz
()
{}
}
fn
main
()
{}