summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-06-22 16:34:43 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-06-27 08:14:09 +1000
commitb7855fa9defc918aa513edd021f4100a46c30109 (patch)
tree2b154b83d07b6279a6cfa2fd568db61a426fa948 /compiler/rustc_span/src
parente7396685a19674dfe995030ec62e01cb6205ae7d (diff)
downloadrust-b7855fa9defc918aa513edd021f4100a46c30109.tar.gz
rust-b7855fa9defc918aa513edd021f4100a46c30109.zip
Factor out the repeated `assert_ty_bounds` function.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 48766c67910..4e28d2b6001 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -135,6 +135,9 @@ symbols! {
         Arguments,
         AsMut,
         AsRef,
+        AssertParamIsClone,
+        AssertParamIsCopy,
+        AssertParamIsEq,
         AtomicBool,
         AtomicI128,
         AtomicI16,