<p dir="auto">Running <code class="notranslate">julia doc/genstdlib.jl</code> to generate the ReST documentation fails on the following commit at the following line:</p>
<p dir="auto"><a href="https://github.com/dpsanders/julia/blame/d633afac7d86021525056445efe1d12a1a7c3974/doc/stdlib/numbers.rst#L358">https://github.com/dpsanders/julia/blame/d633afac7d86021525056445efe1d12a1a7c3974/doc/stdlib/numbers.rst#L358</a></p>
<p dir="auto">This is due to the fact that it finds a "duplicate" at</p>
<p dir="auto"><a href="https://github.com/dpsanders/julia/blame/d633afac7d86021525056445efe1d12a1a7c3974/doc/stdlib/numbers.rst#L371">https://github.com/dpsanders/julia/blame/d633afac7d86021525056445efe1d12a1a7c3974/doc/stdlib/numbers.rst#L371</a></p>
<p dir="auto">What is happening is that the first is a function definition, but the second is a <em>usage</em> of the same string within the docstring of a <em>different</em> function, and thus should not be a duplicate.</p>
<p dir="auto">(This did not happen until <code class="notranslate">with_rounding</code> was merged with <code class="notranslate">setrounding</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="107369917" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/13232" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/13232/hovercard" href="https://github.com/JuliaLang/julia/pull/13232">#13232</a>, which gave rise to this clash.)</p>
<p dir="auto">Removing the exact text <code class="notranslate">setrounding(T, mode)</code> from within the definition of the second docstring successfully generates the correct documentation.</p>
<p dir="auto">I have not been able to compile Julia master successfully on my Apple Silicon Mac since Feb 9. Not exactly sure which commit led to this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LLVM ERROR: failed to perform tail call elimination on a call site marked musttail

signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 158134957 (Pool: 158057440; Big: 77517); GC: 159
/bin/sh: line 1: 22471 Abort trap: 6           JULIA_BINDIR=/Users/gong/GitHub/julia/usr/bin WINEPATH=&quot;/Users/gong/GitHub/julia/usr/bin;$WINEPATH&quot; /Users/gong/GitHub/julia/usr/bin/julia -O3 -C &quot;apple-a12&quot; --output-o /Users/gong/GitHub/julia/usr/lib/julia/sys-o.a.tmp --startup-file=no --warn-overwrite=yes --sysimage /Users/gong/GitHub/julia/usr/lib/julia/sys.ji /Users/gong/GitHub/julia/contrib/generate_precompile.jl 1
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/Users/gong/GitHub/julia/usr/lib/julia/sys-o.a] Error 1
make: *** [julia-sysimg-release] Error 2"><pre class="notranslate"><code class="notranslate">LLVM ERROR: failed to perform tail call elimination on a call site marked musttail

signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 158134957 (Pool: 158057440; Big: 77517); GC: 159
/bin/sh: line 1: 22471 Abort trap: 6           JULIA_BINDIR=/Users/gong/GitHub/julia/usr/bin WINEPATH="/Users/gong/GitHub/julia/usr/bin;$WINEPATH" /Users/gong/GitHub/julia/usr/bin/julia -O3 -C "apple-a12" --output-o /Users/gong/GitHub/julia/usr/lib/julia/sys-o.a.tmp --startup-file=no --warn-overwrite=yes --sysimage /Users/gong/GitHub/julia/usr/lib/julia/sys.ji /Users/gong/GitHub/julia/contrib/generate_precompile.jl 1
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/Users/gong/GitHub/julia/usr/lib/julia/sys-o.a] Error 1
make: *** [julia-sysimg-release] Error 2
</code></pre></div>
<p dir="auto">uname -a:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Darwin rocinante.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64"><pre class="notranslate"><code class="notranslate">Darwin rocinante.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
</code></pre></div>