summaryrefslogtreecommitdiffstats
path: root/third_party/rust/proc-macro-error/src/sealed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/proc-macro-error/src/sealed.rs')
-rw-r--r--third_party/rust/proc-macro-error/src/sealed.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/rust/proc-macro-error/src/sealed.rs b/third_party/rust/proc-macro-error/src/sealed.rs
new file mode 100644
index 0000000000..a2d5081e55
--- /dev/null
+++ b/third_party/rust/proc-macro-error/src/sealed.rs
@@ -0,0 +1,3 @@
+pub trait Sealed {}
+
+impl Sealed for crate::Diagnostic {}