Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-18088.rs
blob: c557b5a6512b997c132bc9666b7db132ad777c71 [
file
] [
log
] [
blame
]
// check-pass
pub
trait
Indexable
<
T
>:
std
::
ops
::
Index
<
usize
,
Output
=
T
>
{
fn
index2
(&
self
,
i
:
usize
)
->
&
T
{
&
self
[
i
]
}
}
fn
main
()
{}