Path: blob/main/tools/compile_fail_utils/tests/example_tests/import.stderr
6598 views
error[E0599]: no function or associated item named `this_function_does_not_exist` found for struct `Config` in the current scope --> tests/example_tests/import.rs:5:21 | 5 | let _ = Config::this_function_does_not_exist(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Config` | note: if you're trying to build a new `Config` consider using one of the following associated functions: Config::rustc Config::cargo --> $RUSTUP_HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ui_test-0.23.0/src/config.rs:70:5 | 70 | pub fn rustc(root_dir: impl Into<PathBuf>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 221 | pub fn cargo(root_dir: impl Into<PathBuf>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0599`.