diff --git a/theories/lang/lang.v b/theories/lang/lang.v
index 14520ff7bdb747cf5f38b3b6e9f57b966461d3b1..b7abe7f678e8492149cc635690fb515d1cced230 100644
--- a/theories/lang/lang.v
+++ b/theories/lang/lang.v
@@ -198,7 +198,8 @@ Definition lit_of_bool (b : bool) : base_lit :=
 
 Definition shift_loc (l : loc) (z : Z) : loc := (l.1, l.2 + z).
 
-Notation "l +ₗ z" := (shift_loc l%L z%Z) (at level 50, left associativity).
+Notation "l +ₗ z" := (shift_loc l%L z%Z)
+  (at level 50, left associativity) : loc_scope.
 
 Fixpoint init_mem (l:loc) (init:list val) (σ:state) : state :=
   match init with