Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-2312.rs
blob: 8a94bcbd4cc181133e5aad4c3b6f3bbff30000e5 [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
dead_code
)]
#![
allow
(
non_camel_case_types
)]
// Testing that the B's are resolved
trait
clam
<
A
>
{
fn
get
(
self
)
->
A
;
}
struct
foo
(
isize
);
impl
foo
{
pub
fn
bar
<
B
,
C
:
clam
<
B
>>(&
self
,
_c
:
C
)
->
B
{
panic
!();
}
}
pub
fn
main
()
{
}