Module rustc_lint::util::common [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

Structs

ErrorReported [
Experimental
]
Indenter [
Experimental
]

Constants

FN_OUTPUT_NAME [
Experimental
]

Traits

MemoizationMap [
Experimental
]

Functions

duration_to_secs_str [
Experimental
]
indent [
Experimental
]
indenter [
Experimental
]
path2cstr [
Experimental
]
record_time [
Experimental
]
set_time_depth [
Experimental
]

Set the current depth of time() calls. The idea is to call set_time_depth() with the result from time_depth() in the parent thread.

time [
Experimental
]
time_depth [
Experimental
]

Read the current depth of time() calls. This is used to encourage indentation across threads.

to_readable_str [
Experimental
]