Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
auxiliary
/
issue-4208-cc.rs
blob: 7b4c8b01a9e2f49d1c6ea426c4b46f5b9933a0c1 [
file
] [
log
] [
blame
] [
edit
]
#![
crate_name
=
"numeric"
]
#![
crate_type
=
"lib"
]
pub
trait
Trig
<
T
>
{
fn
sin
(&
self
)
->
T
;
}
pub
fn
sin
<
T
:
Trig
<
R
>,
R
>(
theta
:
&
T
)
->
R
{
theta
.
sin
()
}
pub
trait
Angle
<
T
>:
Trig
<
T
>
{}