Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
issues
/
issue-27078.rs
blob: ae6ec62be38ad5298c89a8738ffea5e1f386b9be [
file
] [
log
] [
blame
]
#![
feature
(
associated_consts
)]
trait
Foo
{
const
BAR
:
i32
;
fn
foo
(
self
)
->
&
'
static
i32
{
//~^ ERROR the size for values of type
&<
Self
>::
BAR
}
}
fn
main
()
{}