Fix comment

Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
This commit is contained in:
Ralf Jung 2020-06-02 00:55:11 +02:00 committed by GitHub
parent d022603a45
commit 4f30c68937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ use std::thread;
#[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