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) 255 Bytes
// build-pass (FIXME(62277): could be check-pass?)
pub trait Handler {
fn handle(&self, _: &mut String);
impl<F> Handler for F where F: for<'a, 'b> Fn(&'a mut String) {
fn handle(&self, st: &mut String) {
fn main() {}
You can’t perform that action at this time.