track_stub

Macro track_stub 

Source
macro_rules! track_stub {
    (TODO($bug_url:literal), $message:expr, $flags:expr $(,)?) => { ... };
    (TODO($bug_url:literal), $message:expr $(,)?) => { ... };
}
Expand description

Tracks a stubbed implementation.

This macro records that a stub was encountered so that it may be surfaced in inspect. The first time a particular stub is encountered, a log message will be emitted.

Example:

track_stub!(TODO("https://fxbug.dev/12345"), "my component is not implemented");