Sign in
rust
/
rust
/
1ce9c977ffcff7c3b12bfe5629a682da0e74a7a1
/
.
/
tests
/
ui
/
associated-types
/
issue-23595-2.rs
blob: 2bfee7a35faab6de9743697ae54b005d394348af [
file
] [
log
] [
blame
]
#![
feature
(
associated_type_defaults
)]
pub
struct
C
<
AType
:
A
>
{
a
:
AType
}
pub
trait
A
{
type
B
=
C
<
Self
::
anything_here_kills_it
>;
//~^ ERROR: associated type `anything_here_kills_it` not found for `Self`
}
fn
main
()
{}