Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton
Bump bootstrap compiler to 1.33 beta r? @alexcrichton or @pietroalbini cc @rust-lang/release
This commit is contained in:
commit
8611577360
58 changed files with 182 additions and 243 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#![feature(thread_local)]
|
||||
|
||||
#[thread_local]
|
||||
static mut X: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
|
||||
static mut X: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
|
||||
|
||||
fn main() {
|
||||
unsafe {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT};
|
||||
use std::sync::atomic::AtomicUsize;
|
||||
|
||||
const A: AtomicUsize = ATOMIC_USIZE_INIT;
|
||||
const A: AtomicUsize = AtomicUsize::new(0);
|
||||
static B: &'static AtomicUsize = &A; //~ ERROR E0492
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue