Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
use std::any::Any;
fn foo<T: Any>(value: &T) -> Box<dyn Any> {
Box::new(value) as Box<dyn Any> //~ ERROR E0759
}
fn main() {
let _ = foo(&5);