about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authormejrs <>2022-10-31 16:14:29 +0100
committermejrs <>2022-10-31 16:14:29 +0100
commitcbeb244b0588f8d442514a2b7ab95a6021f9863f (patch)
treefbcb163bfa6db4685fc773aff1ef2f62ec29080a /compiler/rustc_trait_selection/src
parent0f35c0c672958760018ee75f85acd195a66be8ab (diff)
downloadrust-cbeb244b0588f8d442514a2b7ab95a6021f9863f.tar.gz
rust-cbeb244b0588f8d442514a2b7ab95a6021f9863f.zip
Add more track_caller
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs
index 61793468594..b64babc9f9e 100644
--- a/compiler/rustc_trait_selection/src/errors.rs
+++ b/compiler/rustc_trait_selection/src/errors.rs
@@ -67,6 +67,7 @@ pub struct NegativePositiveConflict<'a> {
 }
 
 impl IntoDiagnostic<'_> for NegativePositiveConflict<'_> {
+    #[track_caller]
     fn into_diagnostic(
         self,
         handler: &Handler,