Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
lazy-type-alias
/
inherent-impls-conflicting.rs
blob: 2adb04839ae2ea3a3d88f04e1c8e4a4ceeadd1af [
file
] [
log
] [
blame
]
#![
feature
(
lazy_type_alias
)]
#![
allow
(
incomplete_features
)]
type
Alias
=
Local
;
struct
Local
;
impl
Alias
{
fn
method
()
{}
}
//~ ERROR duplicate definitions with name `method`
impl
Local
{
fn
method
()
{}
}
fn
main
()
{}