annotate-snippets-rs icon indicating copy to clipboard operation
annotate-snippets-rs copied to clipboard

`Origin::label` doesn't make sense

Open epage opened this issue 6 months ago • 0 comments

                .element(
                    Origin::new("$SRC_DIR/core/src/cmp.rs")
                        .line(334)
                        .char_column(14)
                        .primary(true)
                        .label("...because it uses `Self` as a type parameter")

                )

seems to create

  --> $SRC_DIR/core/src/cmp.rs:334:14
   |
   = note: ...because it uses `Self` as a type parameter

epage avatar Apr 16 '25 21:04 epage