summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-04-27 01:18:49 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-27 10:10:33 -0400
commit81cf52bb301592ff3d043d03eb9a0d547891a3e1 (patch)
tree52c9276526b0aadcbf85a86f300749ce861d1f46 /libraries/ghc-prim
parent5a7f0deee64f32777db8b87b056b4e9ba154093f (diff)
downloadhaskell-81cf52bb301592ff3d043d03eb9a0d547891a3e1.tar.gz
Mark GHC.Prim.PtrEq as Unsafe
This module exports unsafe pointer equality operations, so we accordingly mark it as Unsafe. Fixes #21433
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r--libraries/ghc-prim/GHC/Prim/PtrEq.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-prim/GHC/Prim/PtrEq.hs b/libraries/ghc-prim/GHC/Prim/PtrEq.hs
index ba58857868..34285a879a 100644
--- a/libraries/ghc-prim/GHC/Prim/PtrEq.hs
+++ b/libraries/ghc-prim/GHC/Prim/PtrEq.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE Unsafe #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE MagicHash #-}