diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-27 15:04:52 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-27 15:04:52 +0200 | 
| commit | aab2c20285e90395a597df270d8ae890814dfc4c (patch) | |
| tree | 10d46676f813fe9b7bf671f19250dcf6a120f1a0 /tests/ui/macros/macro-span-issue-116502.rs | |
| parent | 5d2417e8310f431afe84490475c5d8b8f4cea555 (diff) | |
| parent | c51f05be3094651711072e43bacac47cf7426be9 (diff) | |
| download | rust-aab2c20285e90395a597df270d8ae890814dfc4c.tar.gz rust-aab2c20285e90395a597df270d8ae890814dfc4c.zip | |
Rollup merge of #142420 - oli-obk:infer-ty-coalescing, r=compiler-errors
Report infer ty errors during hir ty lowering This centralizes the placeholder type error reporting in one location, but it also exposes the granularity at which we convert things from hir to ty more. E.g. previously infer types in where bounds were errored together with the function signature, but now they are independent. r? ``@compiler-errors``
Diffstat (limited to 'tests/ui/macros/macro-span-issue-116502.rs')
| -rw-r--r-- | tests/ui/macros/macro-span-issue-116502.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/tests/ui/macros/macro-span-issue-116502.rs b/tests/ui/macros/macro-span-issue-116502.rs index 4c254289ee6..b5ae383efca 100644 --- a/tests/ui/macros/macro-span-issue-116502.rs +++ b/tests/ui/macros/macro-span-issue-116502.rs @@ -5,6 +5,8 @@ fn bug() { macro_rules! m { () => { _ //~ ERROR the placeholder `_` is not allowed within types on item signatures for structs + //~^ ERROR the placeholder `_` is not allowed within types on item signatures for structs + //~| ERROR the placeholder `_` is not allowed within types on item signatures for structs }; } struct S<T = m!()>(m!(), T) | 
