]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/drop/repeat-drop-2.rs
Auto merge of #102684 - JhonnyBillM:delete-target-data-layout-errors-wrapper, r=davidtwco
[rust.git] / src / test / ui / drop / repeat-drop-2.rs
index 59d5ef202051a2e589be3f708990f2b87a251829..3cfacea5e17f46a1cb1c6c21cf2f633bda631809 100644 (file)
@@ -5,7 +5,7 @@ fn borrowck_catch() {
 }
 
 const _: [String; 0] = [String::new(); 0];
-//~^ ERROR destructors cannot be evaluated at compile-time [E0493]
+//~^ ERROR destructor of `String` cannot be evaluated at compile-time [E0493]
 
 fn must_be_init() {
     let x: u8;