]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4208.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-4208.rs
1 // run-pass
2 #![allow(dead_code)]
3 // aux-build:issue-4208-cc.rs
4
5 // pretty-expanded FIXME #23616
6
7 extern crate numeric;
8 use numeric::{sin, Angle};
9
10 fn foo<T, A:Angle<T>>(theta: A) -> T { sin(&theta) }
11
12 pub fn main() {}