]> git.lizzy.rs Git - rust.git/commitdiff
Fix comment
authorRalf Jung <post@ralfj.de>
Mon, 1 Jun 2020 22:55:11 +0000 (00:55 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 22:55:11 +0000 (00:55 +0200)
Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
src/test/ui/consts/miri_unleashed/tls.rs

index 27cb80282352577340ee5fb60853bf452dc09761..ba86a554bbb68615043c8a9b5be888f9cdf0c3bb 100644 (file)
@@ -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