Skip to main content
get_test_name
rustc_
builtin_
macros
1.98.0-beta.1
(6b3fa2674 2026-07-06)
In rustc_
builtin_
macros::
test_
harness
rustc_builtin_macros
::
test_harness
Function
get_
test_
name
Copy item path
Source
fn get_test_name(i: &
Item
) ->
Option
<
Symbol
>