fix boxed_local example
This commit is contained in:
parent
8105260d6e
commit
827082ac41
@ -28,6 +28,7 @@ pub struct EscapePass;
|
||||
/// foo(*x);
|
||||
/// println!("{}", *x);
|
||||
/// }
|
||||
/// ```
|
||||
declare_lint!(pub BOXED_LOCAL, Warn, "using Box<T> where unnecessary");
|
||||
|
||||
struct EscapeDelegate<'a, 'tcx: 'a> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user