about summary refs log tree commit diff
path: root/src/test/ui/issues
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-28 22:12:07 +0200
committerGitHub <noreply@github.com>2019-09-28 22:12:07 +0200
commit6145757a264cea1e4adf019a6b70fd8206c2a7e0 (patch)
tree7f197d538411598b949ed44cd93ad69d909d09f0 /src/test/ui/issues
parent69a3009cbf1b2be92b0520d11d29d11445918817 (diff)
parent9ad99c30cbf344b763602698b67c04ec3ce3de56 (diff)
downloadrust-6145757a264cea1e4adf019a6b70fd8206c2a7e0.tar.gz
rust-6145757a264cea1e4adf019a6b70fd8206c2a7e0.zip
Rollup merge of #64852 - Baranowski:param_note_52082, r=estebank
Print ParamTy span when accessing a field (#52082)
Diffstat (limited to 'src/test/ui/issues')
-rw-r--r--src/test/ui/issues/issue-31011.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-31011.stderr b/src/test/ui/issues/issue-31011.stderr
index ab0069510fc..c7618e0835b 100644
--- a/src/test/ui/issues/issue-31011.stderr
+++ b/src/test/ui/issues/issue-31011.stderr
@@ -4,6 +4,9 @@ error[E0609]: no field `trace` on type `&T`
 LL |         if $ctx.trace {
    |                 ^^^^^
 ...
+LL | fn wrap<T>(context: &T) -> ()
+   |         - type parameter 'T' declared here
+LL | {
 LL |     log!(context, "entered wrapper");
    |     --------------------------------- in this macro invocation