From: Ralf Jung Date: Mon, 1 Jun 2020 22:55:11 +0000 (+0200) Subject: Fix comment X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=4f30c6893700647a11db84818011603199dc248f;p=rust.git Fix comment Co-authored-by: Aaron Hill --- diff --git a/src/test/ui/consts/miri_unleashed/tls.rs b/src/test/ui/consts/miri_unleashed/tls.rs index 27cb8028235..ba86a554bbb 100644 --- a/src/test/ui/consts/miri_unleashed/tls.rs +++ b/src/test/ui/consts/miri_unleashed/tls.rs @@ -7,7 +7,7 @@ #[thread_local] static A: u8 = 0; -// Make sure we catch executing inline assembly. +// Make sure we catch accessing thread-local storage. static TEST_BAD: () = { unsafe { let _val = A; } //~^ ERROR could not evaluate static initializer