]> git.lizzy.rs Git - rust.git/blob - src/test/ui/transmutability/malformed-program-gracefulness/unknown_src.stderr
Rollup merge of #94467 - ibraheemdev:master, r=pnkfelix
[rust.git] / src / test / ui / transmutability / malformed-program-gracefulness / unknown_src.stderr
1 error[E0412]: cannot find type `Src` in this scope
2   --> $DIR/unknown_src.rs:20:31
3    |
4 LL | fn should_gracefully_handle_unknown_src() {
5    |                                        - help: you might be missing a type parameter: `<Src>`
6 ...
7 LL |     assert::is_transmutable::<Src, Dst, Context>();
8    |                               ^^^ not found in this scope
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0412`.