]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/two_files.stderr
Rollup merge of #59041 - saleemjaffer:trait_doc_comment_better_error_msg, r=pnkfelix
[rust.git] / src / test / ui / codemap_tests / two_files.stderr
1 error[E0404]: expected trait, found type alias `Bar`
2   --> $DIR/two_files.rs:5:6
3    |
4 LL | impl Bar for Baz { }
5    |      ^^^ type aliases cannot be used as traits
6    |
7    = note: did you mean to use a trait alias?
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0404`.