Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 202 Bytes
// build-pass (FIXME(62277): could be check-pass?)
use std::ops::Add;
fn ref_add<T>(a: &T, b: &T) -> T
for<'x> &'x T: Add<&'x T, Output = T>,
a + b
fn main() {}
You can’t perform that action at this time.