Skip to main content

Module handlers

Module handlers 

Source

Re-exportsยง

use std::collections::HashMap; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::LazyLock; ๐Ÿ”’
use crate::common::Config; ๐Ÿ”’
use crate::common::PassFailMode; ๐Ÿ”’
use crate::common::TestMode; ๐Ÿ”’
use crate::common::TestSuite; ๐Ÿ”’
use crate::directives::DirectiveLine; ๐Ÿ”’
use crate::directives::NormalizeKind; ๐Ÿ”’
use crate::directives::NormalizeRule; ๐Ÿ”’
use crate::directives::TestProps; ๐Ÿ”’
use crate::directives::parse_and_update_aux; ๐Ÿ”’
use crate::directives::parse_edition_range; ๐Ÿ”’
use crate::directives::split_flags; ๐Ÿ”’
use crate::errors::ErrorKind; ๐Ÿ”’
use crate::runtest::COMPILETEST_UI_SUITE_UNSTABLE_FLAGS; ๐Ÿ”’

Structsยง

Handler ๐Ÿ”’
HandlerArgs ๐Ÿ”’
NamedHandler ๐Ÿ”’
Intermediate data structure, used for defining a list of handlers.

Staticsยง

DIRECTIVE_HANDLERS_MAP ๐Ÿ”’

Functionsยง

handler ๐Ÿ”’
Helper function to create a simple handler, so that changes can be made to the handler struct without disturbing existing handler declarations.
make_directive_handlers_map ๐Ÿ”’
multi_handler ๐Ÿ”’
Associates the same handler function with multiple directive names.