mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 01:52:51 +00:00
Auto merge of #32676 - durka:patch-18, r=alexcrichton
add missing spaces in #16758 warning I should probably add a test.
This commit is contained in:
commit
f92ce2e9fe
@ -561,8 +561,8 @@ fn make_drop_glue<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, v0: ValueRef, g: DropGlueK
|
||||
} else {
|
||||
// Give the user a heads up that we are doing something
|
||||
// stupid and dangerous.
|
||||
bcx.sess().warn(&format!("Ignoring drop flag in destructor for {}\
|
||||
because the struct is unsized. See issue\
|
||||
bcx.sess().warn(&format!("Ignoring drop flag in destructor for {} \
|
||||
because the struct is unsized. See issue \
|
||||
#16758", t));
|
||||
trans_struct_drop(bcx, t, v0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user