Skip to content

Commit adc3f44

Browse files
committed
Don't run Drop terminators on types that do not have drop glue in const eval
1 parent 93ec619 commit adc3f44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/stacked_borrows/drop_in_place_retag.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//! Test that drop_in_place mutably retags the entire place,
2-
//! ensuring it is writeable
1+
//! Test that drop_in_place mutably retags the entire place, even for a type that does not need
2+
//! dropping, ensuring among other things that it is writeable
33
44
//@error-pattern: /retag .* for Unique permission .* only grants SharedReadOnly permission/
55

0 commit comments

Comments
 (0)