diff options
| author | Scott Schafer <schaferjscott@gmail.com> | 2025-07-03 15:47:15 -0600 |
|---|---|---|
| committer | Scott Schafer <schaferjscott@gmail.com> | 2025-08-26 15:15:17 -0600 |
| commit | 93d16c510066db062700e783a53461d45e5dbe4b (patch) | |
| tree | 448afbb982b58516cdea8d85b1976338dbd92c16 /tests/ui/impl-trait | |
| parent | 8835ea854e9339ae83a35461c064a1b919872ca5 (diff) | |
| download | rust-93d16c510066db062700e783a53461d45e5dbe4b.tar.gz rust-93d16c510066db062700e783a53461d45e5dbe4b.zip | |
fix: Add col separator before secondary messages with no source
Diffstat (limited to 'tests/ui/impl-trait')
| -rw-r--r-- | tests/ui/impl-trait/call_method_without_import.no_import.stderr | 1 | ||||
| -rw-r--r-- | tests/ui/impl-trait/impl-generic-mismatch.stderr | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/call_method_without_import.no_import.stderr b/tests/ui/impl-trait/call_method_without_import.no_import.stderr index dbac74b2247..2ca79aa7c10 100644 --- a/tests/ui/impl-trait/call_method_without_import.no_import.stderr +++ b/tests/ui/impl-trait/call_method_without_import.no_import.stderr @@ -3,6 +3,7 @@ error[E0599]: no method named `fmt` found for opaque type `impl Debug` in the cu | LL | x.fmt(f); | ^^^ method not found in `impl Debug` + | --> $SRC_DIR/core/src/fmt/mod.rs:LL:COL | = note: the method is available for `impl Debug` here diff --git a/tests/ui/impl-trait/impl-generic-mismatch.stderr b/tests/ui/impl-trait/impl-generic-mismatch.stderr index 18347bd0f97..d7fff4c445d 100644 --- a/tests/ui/impl-trait/impl-generic-mismatch.stderr +++ b/tests/ui/impl-trait/impl-generic-mismatch.stderr @@ -48,6 +48,7 @@ error[E0643]: method `hash` has incompatible signature for trait | LL | fn hash(&self, hasher: &mut impl Hasher) {} | ^^^^^^^^^^^ expected generic parameter, found `impl Trait` + | --> $SRC_DIR/core/src/hash/mod.rs:LL:COL | = note: declaration in trait here |
