]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-item/associated-item-duplicate-names-2.stderr
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / ui / associated-item / associated-item-duplicate-names-2.stderr
1 error[E0592]: duplicate definitions with name `bar`
2   --> $DIR/associated-item-duplicate-names-2.rs:5:5
3    |
4 LL |     const bar: bool = true;
5    |     --------------- other definition for `bar`
6 LL |     fn bar() {}
7    |     ^^^^^^^^ duplicate definitions for `bar`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0592`.