Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc search: allow queries to end in an empty path segment #132569

Merged

Conversation

lolbinarycat
Copy link
Contributor

fixes #129707

this can be used to show all items in a module,
or all associated items for a type.
currently sufferes slightly due to case insensitivity, so Option:: will also show items in the option:: module.

it disables the checking of the last path element, otherwise only items with short names will be shown

r? @notriddle

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 3, 2024
@rustbot
Copy link
Collaborator

rustbot commented Nov 3, 2024

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @jsha

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member

Sounds like a good idea. Should we prioritize fields/variants over methods/functions though?

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from 591a885 to 38c6073 Compare November 3, 2024 20:08
@lolbinarycat
Copy link
Contributor Author

we could, and it would be pretty trivial, but it's also pretty easy to do variant:Option::, so I'm not sure if it's required.

it does look a little odd having them awkwardly in the middle of the list, but that's also the norm for searches like Cow::borrow.

all in all, I have no strong options w.r.t. sorting.

@GuillaumeGomez
Copy link
Member

Well as usual in such cases, let's see what others think about it.

@lolbinarycat
Copy link
Contributor Author

Thinking about it, is there any reason that we need to address sorting now, instead of in a followup PR?

Perhaps variants should be sorted above methods in all situations, not just when the last element is empty?

@lolbinarycat lolbinarycat mentioned this pull request Nov 3, 2024
2 tasks
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from 38c6073 to eb17234 Compare November 3, 2024 21:18
@lolbinarycat
Copy link
Contributor Author

deleted the test case that expects the removed error.

@@ -0,0 +1,6 @@
const EXPECTED = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this test, can you add a new one in rustdoc-js instead so we can check exactly what is returned? We have type with very long names so I don't think you need to update the sources for it, just pick a type and ensure its items are listed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not the length of the type that matters, it's the length of the associated item.

but yeah, it could probably use a more extreme testcase.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you add the test?

@GuillaumeGomez
Copy link
Member

Thinking about it, is there any reason that we need to address sorting now, instead of in a followup PR?

Perhaps variants should be sorted above methods in all situations, not just when the last element is empty?

Fair point. Then let's keep this PR as is. Just need an update on the search test and then looks good to me.

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from eb17234 to 9af8712 Compare November 4, 2024 19:10
@lolbinarycat
Copy link
Contributor Author

Alright, added another testcase with the longest item name I could find. This also tests the whole-crate search case.

@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from 9af8712 to b5a9b13 Compare November 4, 2024 20:35
@lolbinarycat
Copy link
Contributor Author

lolbinarycat commented Nov 4, 2024

ah, generics.js uses an exact check... i could write a whole new test, but at the same time, I know get_or_insert_default is a long enough method name to verify we are ignoring edit distance (it's about as long as the artificially long name in generics.js)

I'm just gonna revert my last change for now. I don't actually have the proper stuff installed to run these tests and bless the output.

@bors
Copy link
Contributor

bors commented Nov 11, 2024

☔ The latest upstream changes (presumably #127589) made this pull request unmergeable. Please resolve the merge conflicts.

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from b5a9b13 to 8ab783c Compare November 11, 2024 17:08
@camelid camelid added the A-rustdoc-search Area: Rustdoc's search feature label Nov 11, 2024
@bors
Copy link
Contributor

bors commented Nov 14, 2024

☔ The latest upstream changes (presumably #133039) made this pull request unmergeable. Please resolve the merge conflicts.

@notriddle
Copy link
Contributor

r=me once the conflicts are resolved

@lolbinarycat
Copy link
Contributor Author

what's the rationale for inlining handleSingleArg?

@notriddle
Copy link
Contributor

notriddle commented Nov 15, 2024

The old handleSingleArg handled one "row" of the search index at a time, populating both "In Names" and the "In Params/Return" type-based results. I had to split it in half.

Neither of these halves seemed big enough to give their own function, because the "meat" of both were already mostly in separate functions.

@lolbinarycat lolbinarycat force-pushed the rustdoc-search-path-end-empty-v2 branch from 8ab783c to 306e07d Compare November 15, 2024 21:19
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 16, 2024
…-empty-v2, r=notriddle

rustdoc search: allow queries to end in an empty path segment

fixes rust-lang#129707

this can be used to show all items in a module,
or all associated items for a type.
currently sufferes slightly due to case insensitivity, so `Option::` will also show items in the `option::` module.

it disables the checking of the last path element, otherwise only items with short names will be shown

r? `@notriddle`
@bors
Copy link
Contributor

bors commented Nov 16, 2024

⌛ Testing commit cd46ff6 with merge 4032e9c...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-msvc failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [debuginfo-cdb] tests\debuginfo\numeric-types.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\numeric-types.rs` not found in debugger output. errors:
    (numeric-types.rs:61) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i8>]`
    (numeric-types.rs:65) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i16>]`
    (numeric-types.rs:69) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i32>]`
    (numeric-types.rs:73) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i64>]`
    (numeric-types.rs:77) `w_i128           [Type: core::num::wrapping::Wrapping<i128>]`
    (numeric-types.rs:78) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i128>]`
    (numeric-types.rs:82) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<isize>]`
    (numeric-types.rs:86) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u8>]`
    (numeric-types.rs:90) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u16>]`
    (numeric-types.rs:94) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u32>]`
    (numeric-types.rs:98) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u64>]`
    (numeric-types.rs:102) `w_u128           [Type: core::num::wrapping::Wrapping<u128>]`
    (numeric-types.rs:103) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u128>]`
    (numeric-types.rs:107) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<usize>]`
    (numeric-types.rs:111) `    [<Raw View>]     [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:115) `    [<Raw View>]     [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:119) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI8]`
    (numeric-types.rs:123) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI16]`
    (numeric-types.rs:127) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI32]`
    (numeric-types.rs:131) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI64]`
    (numeric-types.rs:135) `    [<Raw View>]     [Type: core::sync::atomic::AtomicIsize]`
    (numeric-types.rs:139) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU8]`
    (numeric-types.rs:143) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU16]`
    (numeric-types.rs:147) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU32]`
    (numeric-types.rs:151) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU64]`
    (numeric-types.rs:155) `    [<Raw View>]     [Type: core::sync::atomic::AtomicUsize]`
the following subset of check directive(s) was found successfully:
    (numeric-types.rs:12) `nz_i8            : 11 [Type: core::num::nonzero::NonZero<i8>]`
    (numeric-types.rs:13) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i8>]`
    (numeric-types.rs:16) `nz_i16           : 22 [Type: core::num::nonzero::NonZero<i16>]`
    (numeric-types.rs:17) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i16>]`
    (numeric-types.rs:20) `nz_i32           : 33 [Type: core::num::nonzero::NonZero<i32>]`
    (numeric-types.rs:21) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i32>]`
    (numeric-types.rs:24) `nz_i64           : 44 [Type: core::num::nonzero::NonZero<i64>]`
    (numeric-types.rs:25) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i64>]`
    (numeric-types.rs:29) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i128>]`
    (numeric-types.rs:32) `nz_isize         : 66 [Type: core::num::nonzero::NonZero<isize>]`
    (numeric-types.rs:33) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<isize>]`
    (numeric-types.rs:36) `nz_u8            : 0x4d [Type: core::num::nonzero::NonZero<u8>]`
    (numeric-types.rs:37) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u8>]`
    (numeric-types.rs:40) `nz_u16           : 0x58 [Type: core::num::nonzero::NonZero<u16>]`
    (numeric-types.rs:41) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u16>]`
    (numeric-types.rs:44) `nz_u32           : 0x63 [Type: core::num::nonzero::NonZero<u32>]`
    (numeric-types.rs:45) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u32>]`
    (numeric-types.rs:48) `nz_u64           : 0x64 [Type: core::num::nonzero::NonZero<u64>]`
    (numeric-types.rs:49) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u64>]`
    (numeric-types.rs:53) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u128>]`
    (numeric-types.rs:56) `nz_usize         : 0x7a [Type: core::num::nonzero::NonZero<usize>]`
    (numeric-types.rs:57) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<usize>]`
    (numeric-types.rs:60) `w_i8             : 10 [Type: core::num::wrapping::Wrapping<i8>]`
    (numeric-types.rs:64) `w_i16            : 20 [Type: core::num::wrapping::Wrapping<i16>]`
    (numeric-types.rs:68) `w_i32            : 30 [Type: core::num::wrapping::Wrapping<i32>]`
    (numeric-types.rs:72) `w_i64            : 40 [Type: core::num::wrapping::Wrapping<i64>]`
    (numeric-types.rs:81) `w_isize          : 60 [Type: core::num::wrapping::Wrapping<isize>]`
    (numeric-types.rs:85) `w_u8             : 0x46 [Type: core::num::wrapping::Wrapping<u8>]`
    (numeric-types.rs:89) `w_u16            : 0x50 [Type: core::num::wrapping::Wrapping<u16>]`
    (numeric-types.rs:93) `w_u32            : 0x5a [Type: core::num::wrapping::Wrapping<u32>]`
    (numeric-types.rs:97) `w_u64            : 0x64 [Type: core::num::wrapping::Wrapping<u64>]`
    (numeric-types.rs:106) `w_usize          : 0x78 [Type: core::num::wrapping::Wrapping<usize>]`
    (numeric-types.rs:110) `a_bool_t         : true [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:114) `a_bool_f         : false [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:118) `a_i8             : 2 [Type: core::sync::atomic::AtomicI8]`
    (numeric-types.rs:122) `a_i16            : 4 [Type: core::sync::atomic::AtomicI16]`
    (numeric-types.rs:126) `a_i32            : 8 [Type: core::sync::atomic::AtomicI32]`
    (numeric-types.rs:130) `a_i64            : 16 [Type: core::sync::atomic::AtomicI64]`
    (numeric-types.rs:134) `a_isize          : 32 [Type: core::sync::atomic::AtomicIsize]`
    (numeric-types.rs:138) `a_u8             : 0x40 [Type: core::sync::atomic::AtomicU8]`
    (numeric-types.rs:142) `a_u16            : 0x80 [Type: core::sync::atomic::AtomicU16]`
    (numeric-types.rs:146) `a_u32            : 0x100 [Type: core::sync::atomic::AtomicU32]`
    (numeric-types.rs:150) `a_u64            : 0x200 [Type: core::sync::atomic::AtomicU64]`
    (numeric-types.rs:154) `a_usize          : 0x400 [Type: core::sync::atomic::AtomicUsize]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.1.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.432-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\numeric-types.cdb\\numeric-types.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\numeric-types.cdb\\a.exe"


************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true

   EnableRedirectToV8JsProvider : false
   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true


>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.031 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 29
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


CommandLine: C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\a.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
+------------------------------------------------------------------------+
| This target supports Hardware-enforced Stack Protection. A HW based    |
| This target supports Hardware-enforced Stack Protection. A HW based    |
| "Shadow Stack" may be available to assist in debugging and analysis.   |
| See aka.ms/userhsp for more info.                                      |
|                                                                        |
| dps @ssp                                                               |
+------------------------------------------------------------------------+


ModLoad: 00007ff7`6b130000 00007ff7`6b138000   a.exe   
ModLoad: 00007ffa`8cec0000 00007ffa`8d0c1000   ntdll.dll
ModLoad: 00007ffa`8b900000 00007ffa`8b9be000   C:\Windows\System32\KERNEL32.DLL
ModLoad: 00007ffa`8a830000 00007ffa`8aba0000   C:\Windows\System32\KERNELBASE.dll
ModLoad: 00007ffa`88970000 00007ffa`88a01000   C:\Windows\SYSTEM32\apphelp.dll
ModLoad: 00007ffa`8a630000 00007ffa`8a740000   C:\Windows\System32\ucrtbase.dll
ModLoad: 00007ffa`7d4b0000 00007ffa`7d4ce000   C:\Windows\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffa`50060000 00007ffa`509cc000   C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib\std-86f5533baccc1b93.dll
ModLoad: 00007ffa`8b560000 00007ffa`8b5d1000   C:\Windows\System32\WS2_32.dll
ModLoad: 00007ffa`89a40000 00007ffa`89a6e000   C:\Windows\SYSTEM32\USERENV.dll
ModLoad: 00007ffa`8c170000 00007ffa`8c28e000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00000289`77780000 00000289`7789e000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00007ffa`8ac10000 00007ffa`8ac8f000   C:\Windows\System32\bcryptprimitives.dll
(2214.960): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ffa`8cf94464 cc              int     3
0:000> version
Windows 10 Version 20348 MP (8 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
Edition build lab: 20348.1.amd64fre.fe_release.210507-1500
Build layer: DesktopEditions -> 20348.1.amd64fre.fe_release.210507-1500
Build layer: OnecoreUAP -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Build layer: ShellCommon -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Debug session time: Sat Nov 16 10:25:39.678 2024 (UTC + 0:00)
System Uptime: 0 days 0:56:46.646
Process Uptime: 0 days 0:00:00.076
  Kernel time: 0 days 0:00:00.031
  User time: 0 days 0:00:00.000
Live user mode: <Local>
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


command line: '"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe" -lines -cf C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\numeric-types.debugger.script C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\a.exe'  Debugger Process 0xE48 
dbgeng:  image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbgeng.dll]
dbghelp: image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
        DIA version: 33140
Extension DLL search Path:
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\arcade;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\pri;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\Users\runneradmin\AppData\Local\Dbg\EngineExtensions;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.1.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.432-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl
Extension DLL chain:
    dbghelp: image 10.0.26100.2161, API 10.0.6, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
    exts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\exts.dll]
    uext: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\uext.dll]
    ntsdexts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\ntsdexts.dll]
0:000> .nvlist
Loaded NatVis Files:
    <None Loaded>
0:000> bp `numeric-types.rs:287`
*** WARNING: Unable to verify checksum for a.exe
0:000>  g
Breakpoint 0 hit
a!numeric_types::main+0x596:
00007ff7`6b1318d6 e815000000      call    a!numeric_types::zzz (00007ff7`6b1318f0)
0:000>  dx nz_i8
nz_i8            : 11 [Type: core::num::nonzero::NonZero<i8>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i8>]
0:000>  dx nz_i16
nz_i16           : 22 [Type: core::num::nonzero::NonZero<i16>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i16>]
0:000>  dx nz_i32
nz_i32           : 33 [Type: core::num::nonzero::NonZero<i32>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i32>]
0:000>  dx nz_i64
nz_i64           : 44 [Type: core::num::nonzero::NonZero<i64>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i64>]
0:000>  dx nz_i128
nz_i128          : 55 [Type: core::num::nonzero::NonZero<i128>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i128>]
0:000>  dx nz_isize
nz_isize         : 66 [Type: core::num::nonzero::NonZero<isize>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<isize>]
0:000>  dx nz_u8
nz_u8            : 0x4d [Type: core::num::nonzero::NonZero<u8>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u8>]
0:000>  dx nz_u16
nz_u16           : 0x58 [Type: core::num::nonzero::NonZero<u16>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u16>]
0:000>  dx nz_u32
nz_u32           : 0x63 [Type: core::num::nonzero::NonZero<u32>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u32>]
0:000>  dx nz_u64
nz_u64           : 0x64 [Type: core::num::nonzero::NonZero<u64>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u64>]
0:000>  dx nz_u128
nz_u128          : 111 [Type: core::num::nonzero::NonZero<u128>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u128>]
0:000>  dx nz_usize
nz_usize         : 0x7a [Type: core::num::nonzero::NonZero<usize>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<usize>]
0:000>  dx w_i8
w_i8             : 10 [Type: core::num::wrapping::Wrapping<i8>]
    [+0x000] __0              : 10 [Type: char]
0:000>  dx w_i16
w_i16            : 20 [Type: core::num::wrapping::Wrapping<i16>]
    [+0x000] __0              : 20 [Type: short]
0:000>  dx w_i32
w_i32            : 30 [Type: core::num::wrapping::Wrapping<i32>]
    [+0x000] __0              : 30 [Type: int]
0:000>  dx w_i64
w_i64            : 40 [Type: core::num::wrapping::Wrapping<i64>]
    [+0x000] __0              : 40 [Type: __int64]
0:000>  dx w_i128
w_i128           : 50 [Type: core::num::wrapping::Wrapping<i128>]
    [+0x000] __0              : 50 [Type: i128]
0:000>  dx w_isize
w_isize          : 60 [Type: core::num::wrapping::Wrapping<isize>]
    [+0x000] __0              : 60 [Type: __int64]
0:000>  dx w_u8
w_u8             : 0x46 [Type: core::num::wrapping::Wrapping<u8>]
    [+0x000] __0              : 0x46 [Type: unsigned char]
0:000>  dx w_u16
w_u16            : 0x50 [Type: core::num::wrapping::Wrapping<u16>]
    [+0x000] __0              : 0x50 [Type: unsigned short]
0:000>  dx w_u32
w_u32            : 0x5a [Type: core::num::wrapping::Wrapping<u32>]
    [+0x000] __0              : 0x5a [Type: unsigned int]
0:000>  dx w_u64
w_u64            : 0x64 [Type: core::num::wrapping::Wrapping<u64>]
    [+0x000] __0              : 0x64 [Type: unsigned __int64]
0:000>  dx w_u128
w_u128           : 110 [Type: core::num::wrapping::Wrapping<u128>]
    [+0x000] __0              : 110 [Type: u128]
0:000>  dx w_usize
w_usize          : 0x78 [Type: core::num::wrapping::Wrapping<usize>]
    [+0x000] __0              : 0x78 [Type: unsigned __int64]
0:000>  dx a_bool_t
a_bool_t         : true [Type: core::sync::atomic::AtomicBool]
    [+0x000] v                : 0x1 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_bool_f
a_bool_f         : false [Type: core::sync::atomic::AtomicBool]
    [+0x000] v                : 0x0 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_i8
a_i8             : 2 [Type: core::sync::atomic::AtomicI8]
    [+0x000] v                : 2 [Type: core::cell::UnsafeCell<i8>]
0:000>  dx a_i16
a_i16            : 4 [Type: core::sync::atomic::AtomicI16]
    [+0x000] v                : 4 [Type: core::cell::UnsafeCell<i16>]
0:000>  dx a_i32
a_i32            : 8 [Type: core::sync::atomic::AtomicI32]
    [+0x000] v                : 8 [Type: core::cell::UnsafeCell<i32>]
0:000>  dx a_i64
a_i64            : 16 [Type: core::sync::atomic::AtomicI64]
    [+0x000] v                : 16 [Type: core::cell::UnsafeCell<i64>]
0:000>  dx a_isize
a_isize          : 32 [Type: core::sync::atomic::AtomicIsize]
    [+0x000] v                : 32 [Type: core::cell::UnsafeCell<isize>]
0:000>  dx a_u8
a_u8             : 0x40 [Type: core::sync::atomic::AtomicU8]
    [+0x000] v                : 0x40 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_u16
a_u16            : 0x80 [Type: core::sync::atomic::AtomicU16]
    [+0x000] v                : 0x80 [Type: core::cell::UnsafeCell<u16>]
0:000>  dx a_u32
a_u32            : 0x100 [Type: core::sync::atomic::AtomicU32]
    [+0x000] v                : 0x100 [Type: core::cell::UnsafeCell<u32>]
0:000>  dx a_u64
a_u64            : 0x200 [Type: core::sync::atomic::AtomicU64]
    [+0x000] v                : 0x200 [Type: core::cell::UnsafeCell<u64>]
0:000>  dx a_usize
a_usize          : 0x400 [Type: core::sync::atomic::AtomicUsize]
    [+0x000] v                : 0x400 [Type: core::cell::UnsafeCell<usize>]
0:000> qq
quit:
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
stderr: none


---- [debuginfo-cdb] tests\debuginfo\range-types.rs stdout ----
---- [debuginfo-cdb] tests\debuginfo\range-types.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\range-types.rs` not found in debugger output. errors:
    (range-types.rs:13) `    [<Raw View>]     [Type: core::ops::range::Range<i32>]`
    (range-types.rs:17) `    [<Raw View>]     [Type: core::ops::range::RangeFrom<i32>]`
    (range-types.rs:21) `    [<Raw View>]     [Type: core::ops::range::RangeInclusive<i32>]`
    (range-types.rs:25) `    [<Raw View>]     [Type: core::ops::range::RangeTo<i32>]`
    (range-types.rs:29) `    [<Raw View>]     [Type: core::ops::range::RangeToInclusive<i32>]`
the following subset of check directive(s) was found successfully:
    (range-types.rs:12) `r1,d             : (3..5) [Type: core::ops::range::Range<i32>]`
    (range-types.rs:16) `r2,d             : (2..) [Type: core::ops::range::RangeFrom<i32>]`
    (range-types.rs:20) `r3,d             : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]`
    (range-types.rs:24) `r4,d             : (..10) [Type: core::ops::range::RangeTo<i32>]`
    (range-types.rs:28) `r5,d             : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]`
    (range-types.rs:32) `r6,d             [Type: core::ops::range::RangeFull]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.1.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.432-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\range-types.cdb\\range-types.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\range-types.cdb\\a.exe"


************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true

   EnableRedirectToV8JsProvider : false
   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true


>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.032 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 29
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


CommandLine: C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\a.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
+------------------------------------------------------------------------+
| This target supports Hardware-enforced Stack Protection. A HW based    |
| This target supports Hardware-enforced Stack Protection. A HW based    |
| "Shadow Stack" may be available to assist in debugging and analysis.   |
| See aka.ms/userhsp for more info.                                      |
|                                                                        |
| dps @ssp                                                               |
+------------------------------------------------------------------------+


ModLoad: 00007ff6`04640000 00007ff6`04647000   a.exe   
ModLoad: 00007ffa`8cec0000 00007ffa`8d0c1000   ntdll.dll
ModLoad: 00007ffa`8b900000 00007ffa`8b9be000   C:\Windows\System32\KERNEL32.DLL
ModLoad: 00007ffa`8a830000 00007ffa`8aba0000   C:\Windows\System32\KERNELBASE.dll
ModLoad: 00007ffa`88970000 00007ffa`88a01000   C:\Windows\SYSTEM32\apphelp.dll
ModLoad: 00007ffa`8a630000 00007ffa`8a740000   C:\Windows\System32\ucrtbase.dll
ModLoad: 00007ffa`7d4b0000 00007ffa`7d4ce000   C:\Windows\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffa`50060000 00007ffa`509cc000   C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib\std-86f5533baccc1b93.dll
ModLoad: 00007ffa`8b560000 00007ffa`8b5d1000   C:\Windows\System32\WS2_32.dll
ModLoad: 00007ffa`89a40000 00007ffa`89a6e000   C:\Windows\SYSTEM32\USERENV.dll
ModLoad: 00007ffa`8c170000 00007ffa`8c28e000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00007ffa`8ac10000 00007ffa`8ac8f000   C:\Windows\System32\bcryptprimitives.dll
(1de8.3bc): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ffa`8cf94464 cc              int     3
0:000> version
Windows 10 Version 20348 MP (8 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
Edition build lab: 20348.1.amd64fre.fe_release.210507-1500
Build layer: DesktopEditions -> 20348.1.amd64fre.fe_release.210507-1500
Build layer: OnecoreUAP -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Build layer: ShellCommon -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Debug session time: Sat Nov 16 10:25:40.694 2024 (UTC + 0:00)
System Uptime: 0 days 0:56:47.662
Process Uptime: 0 days 0:00:00.076
  Kernel time: 0 days 0:00:00.015
  User time: 0 days 0:00:00.000
Live user mode: <Local>
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


command line: '"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe" -lines -cf C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\range-types.debugger.script C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\a.exe'  Debugger Process 0x12CC 
dbgeng:  image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbgeng.dll]
dbghelp: image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
        DIA version: 33140
Extension DLL search Path:
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\arcade;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\pri;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\Users\runneradmin\AppData\Local\Dbg\EngineExtensions;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.1.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.432-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl
Extension DLL chain:
    dbghelp: image 10.0.26100.2161, API 10.0.6, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
    exts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\exts.dll]
    uext: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\uext.dll]
    ntsdexts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\ntsdexts.dll]
0:000> .nvlist
Loaded NatVis Files:
    <None Loaded>
0:000> bp `range-types.rs:46`
*** WARNING: Unable to verify checksum for a.exe
0:000>  g
Breakpoint 0 hit
a!range_types::main+0x41:
00007ff6`046411a1 e80a000000      call    a!range_types::zzz (00007ff6`046411b0)
0:000>  dx r1,d
r1,d             : (3..5) [Type: core::ops::range::Range<i32>]
    [+0x000] start            : 3 [Type: int]
    [+0x004] end              : 5 [Type: int]
0:000>  dx r2,d
r2,d             : (2..) [Type: core::ops::range::RangeFrom<i32>]
    [+0x000] start            : 2 [Type: int]
0:000>  dx r3,d
r3,d             : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]
    [+0x000] start            : 1 [Type: int]
    [+0x004] end              : 4 [Type: int]
    [+0x008] exhausted        : false [Type: bool]
0:000>  dx r4,d
r4,d             : (..10) [Type: core::ops::range::RangeTo<i32>]
    [+0x000] end              : 10 [Type: int]
0:000>  dx r5,d
r5,d             : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]
    [+0x000] end              : 3 [Type: int]
0:000>  dx r6,d
r6,d             [Type: core::ops::range::RangeFull]
0:000> qq
quit:
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
stderr: none


---- [debuginfo-cdb] tests\debuginfo\unit-type.rs stdout ----
---- [debuginfo-cdb] tests\debuginfo\unit-type.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\unit-type.rs` not found in debugger output. errors:
    (unit-type.rs:29) ` _ref             : 0x[...] : () [Type: tuple$<> *]`
    (unit-type.rs:32) ` _ptr             : 0x[...] : () [Type: tuple$<> *]`
    (unit-type.rs:35) ` _local           : () [Type: tuple$<>]`
    (unit-type.rs:40) `     [+0x[...]] _unit            : () [Type: tuple$<>]`
the following subset of check directive(s) was found successfully:
    (unit-type.rs:26) `Breakpoint 0 hit`
    (unit-type.rs:38) `_field,d         [Type: unit_type::_TypeContainingUnitField]`
    (unit-type.rs:39) `    [+0x008] _a               : 123 [Type: unsigned int]`
    (unit-type.rs:41) `    [+0x000] _b               : 456 [Type: unsigned __int64]`
    (unit-type.rs:45) `((__int64 *)_ptr),x : 0x66739afb30 : 0x1122334455667788 [Type: __int64 *]`
    (unit-type.rs:46) `    0x1122334455667788 [Type: __int64]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.1.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.432-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\unit-type.cdb\\unit-type.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\unit-type.cdb\\a.exe"


************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true

   EnableRedirectToV8JsProvider : false
   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true


>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.031 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
---
test result: FAILED. 156 passed; 3 failed; 3 ignored; 0 measured; 0 filtered out; finished in 19.89s

Some tests failed in compiletest suite=debuginfo mode=debuginfo host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Build completed unsuccessfully in 0:47:11
make: *** [Makefile:106: ci-msvc-ps1] Error 1
  network time: Sat, 16 Nov 2024 10:25:46 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors
Copy link
Contributor

bors commented Nov 16, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 16, 2024
@jieyouxu
Copy link
Member

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 16, 2024
@jieyouxu jieyouxu added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. CI-spurious-fail-msvc CI spurious failure: target env msvc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 16, 2024
@jieyouxu jieyouxu removed the CI-spurious-fail-msvc CI spurious failure: target env msvc label Nov 16, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 16, 2024
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#131717 (Stabilize `const_atomic_from_ptr`)
 - rust-lang#132134 (Remove `ResultsVisitable`)
 - rust-lang#132449 (mark is_val_statically_known intrinsic as stably const-callable)
 - rust-lang#132569 (rustdoc search: allow queries to end in an empty path segment)
 - rust-lang#132787 (Unify FnKind between AST visitors and make WalkItemKind more straight forward)
 - rust-lang#132832 (Deny capturing late-bound ty/const params in nested opaques)
 - rust-lang#133097 (Opt out TaKO8Ki from review rotation for now)

r? `@ghost`
`@rustbot` modify labels: rollup
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 17, 2024
…nd-empty-v2, r=notriddle

rustdoc search: allow queries to end in an empty path segment

fixes rust-lang#129707

this can be used to show all items in a module,
or all associated items for a type.
currently sufferes slightly due to case insensitivity, so `Option::` will also show items in the `option::` module.

it disables the checking of the last path element, otherwise only items with short names will be shown

r? ``@notriddle``
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#131717 (Stabilize `const_atomic_from_ptr`)
 - rust-lang#132134 (Remove `ResultsVisitable`)
 - rust-lang#132449 (mark is_val_statically_known intrinsic as stably const-callable)
 - rust-lang#132569 (rustdoc search: allow queries to end in an empty path segment)
 - rust-lang#132787 (Unify FnKind between AST visitors and make WalkItemKind more straight forward)
 - rust-lang#132832 (Deny capturing late-bound ty/const params in nested opaques)
 - rust-lang#133097 (Opt out TaKO8Ki from review rotation for now)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit eff2b70 into rust-lang:master Nov 17, 2024
12 of 13 checks passed
@rustbot rustbot added this to the 1.84.0 milestone Nov 17, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
Rollup merge of rust-lang#132569 - lolbinarycat:rustdoc-search-path-end-empty-v2, r=notriddle

rustdoc search: allow queries to end in an empty path segment

fixes rust-lang#129707

this can be used to show all items in a module,
or all associated items for a type.
currently sufferes slightly due to case insensitivity, so `Option::` will also show items in the `option::` module.

it disables the checking of the last path element, otherwise only items with short names will be shown

r? `@notriddle`
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
Rollup of 8 pull requests

Successful merges:

 - rust-lang#131717 (Stabilize `const_atomic_from_ptr`)
 - rust-lang#132449 (mark is_val_statically_known intrinsic as stably const-callable)
 - rust-lang#132569 (rustdoc search: allow queries to end in an empty path segment)
 - rust-lang#133029 (ABI checks: add support for some tier3 arches, warn on others.)
 - rust-lang#133093 (Let chains tests)
 - rust-lang#133097 (Opt out TaKO8Ki from review rotation for now)
 - rust-lang#133116 (stabilize const_ptr_is_null)
 - rust-lang#133126 (alloc: fix `String`'s doc)

r? `@ghost`
`@rustbot` modify labels: rollup
jhpratt pushed a commit to jhpratt/rust that referenced this pull request Nov 18, 2024
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 18, 2024
… r=GuillaumeGomez

rustdoc-search: add standalone trailing `::` test

Follow up for rust-lang#132569

r? `@GuillaumeGomez`
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 18, 2024
Rollup merge of rust-lang#133133 - notriddle:notriddle/trailing-test, r=GuillaumeGomez

rustdoc-search: add standalone trailing `::` test

Follow up for rust-lang#132569

r? `@GuillaumeGomez`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-search Area: Rustdoc's search feature S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustdoc search: allow queries to end in ::
9 participants