<p></p>
<p>When you have global variables in a Rust source file, functions, modules, etc. appear in the left panel. However, the global variables do not appear. This functionnality works well in C and C++. It would be nice if it worked also for Rust.</p>
<p>Minimal example:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/8653602/102218685-a3668980-3ede-11eb-96e5-95cfe95c2be8.png"><img src="https://user-images.githubusercontent.com/8653602/102218685-a3668980-3ede-11eb-96e5-95cfe95c2be8.png" alt="example" style="max-width:100%;"></a></p>
<p>The global variable "N" does not appear in the left panel</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2692">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYP6GJFRQRMU4PET5DSU5NSHANCNFSM4U4J7GLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6I5WBVFJTLUDNXOADSU5NSHA5CNFSM4U4J7GLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LOAH45A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2692",
"url": "https://github.com/geany/geany/issues/2692",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>