title: What literal expression has type `void`?
body: <p>In Zig 0.9, I need a literal expression that has type <code>void</code>, for use as the context parameter to <code>std.sort.sort</code>, so that my <code>lessThan</code> function signature is semantically accurate. Is there some?</p>
  <p>I tried these but to no avail:</p>
  <pre><code>const ek = @import(&quot;std&quot;).io.getStdOut().writer();
  test &quot;void&quot; {
      const kandidati = .{ type, u0, .{}, void, null, undefined };
      inline for (kandidati) |k|
          try ek.print(&quot;{}, &quot;, .{@TypeOf(k)});
      try ek.print(&quot;\n&quot;, .{});
  }
  </code></pre>
  <p>giving</p>
  <pre><code>Test [0/1] test &quot;void&quot;... type, type, struct:31:37, type, @Type(.Null), @Type(.Undefined), 
  All 1 tests passed.
  </code></pre>
  <p>I don't want to use a dummy variable like <code>const v: void = undefined;</code>; that's too verbose.</p>
  <p>For reference, using <code>void</code> as the context parameter to <code>std.sort.sort</code> with a <code>lessThan</code> function that takes a parameter of type <code>void</code>, gives an error message like</p>
  <pre><code>error: expected type 'fn(type,anytype,anytype) anytype', found 'fn(void, Type1, Type1) bool'
  </code></pre>