]> git.lizzy.rs Git - rust.git/commit
With the revert of PR 83091, `swap` is not a `const fn` anymore.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 4 Jun 2021 19:44:25 +0000 (15:44 -0400)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 4 Jun 2021 20:44:28 +0000 (16:44 -0400)
commit34deda3cc250c2607a68cda75fe256f43b110fdc
tree555065a1472bc26f2b65d75ad57f9148047375e2
parenta5cb9afad8dc2a6ffff312c3b7c373339070018d
With the revert of PR 83091, `swap` is not a `const fn` anymore.

(for the short term, that is; see issue 84297.)
src/test/ui/thread-local-static.rs
src/test/ui/thread-local-static.stderr