summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/two_files.stderr
blob: 65df3f382c04702cfacee92eb4a5f08d6cb8f4c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0404]: expected trait, found type alias `Bar`
  --> $DIR/two_files.rs:5:6
   |
LL | impl Bar for Baz { } //~ ERROR expected trait, found type alias
   |      ^^^ type aliases cannot be used as traits
   |
   = note: did you mean to use a trait alias?

error: aborting due to previous error

For more information about this error, try `rustc --explain E0404`.