summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_invariable_queue.erl2
-rw-r--r--src/rabbit_misc.erl2
-rw-r--r--src/rabbit_tests.erl2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_invariable_queue.erl b/src/rabbit_invariable_queue.erl
index df8adb2e2f..d3f89ab96f 100644
--- a/src/rabbit_invariable_queue.erl
+++ b/src/rabbit_invariable_queue.erl
@@ -52,7 +52,7 @@
-type(state() :: #iv_state { queue :: queue(),
qname :: rabbit_amqqueue:name(),
len :: non_neg_integer(),
- pending_ack :: dict:dictionary()
+ pending_ack :: dict()
}).
-include("rabbit_backing_queue_spec.hrl").
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index bf4aaeb40d..535af2c88a 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -161,7 +161,7 @@
('lt' | 'lte' | 'eq' | 'gte' | 'gt')) -> boolean()).
-spec(recursive_delete/1 :: ([file:filename()]) ->
'ok' | {'error', {file:filename(), any()}}).
--spec(dict_cons/3 :: (any(), any(), dict:dictionary()) -> dict:dictionary()).
+-spec(dict_cons/3 :: (any(), any(), dict()) -> dict()).
-spec(unlink_and_capture_exit/1 :: (pid()) -> 'ok').
-endif.
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index d3813bc7f3..ad7a11c608 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -953,7 +953,7 @@ test_memory_pressure() ->
ok = test_memory_pressure_receive_flow(true),
%% if we publish at this point, the channel should die
- Content = rabbit_basic:build_content([], <<>>),
+ Content = rabbit_basic:build_content(#'P_basic'{}, <<>>),
ok = rabbit_channel:do(Ch0, #'basic.publish'{}, Content),
expect_normal_channel_termination(MRef0, Ch0),