File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ fn is_temporary_rvalue(expr: &Expr<'_>) -> bool {
112112 ExprKind :: Struct ( _, _, _) => true ,
113113 // These are 'static
114114 ExprKind :: Lit ( _) => false ,
115- // False negatives are possible, but arrays get promoted to 'static way too often.
115+ // FIXME: False negatives are possible, but arrays get promoted to 'static way too often.
116116 ExprKind :: Array ( _) => false ,
117117
118118 // These typecheck to `!`
Original file line number Diff line number Diff line change @@ -1129,6 +1129,7 @@ pub struct IgnoredUnlessCrateSpecified<'a> {
11291129#[ diag( lint_instantly_dangling) ]
11301130#[ note]
11311131#[ help]
1132+ // FIXME: use #[primary_span]
11321133pub struct InstantlyDangling {
11331134 pub callee : Symbol ,
11341135 pub ty : String ,
You can’t perform that action at this time.
0 commit comments