Skip to content

Commit e548d77

Browse files
committed
Remove an attempted error annotation
This file previously contained an error annotation with incorrect syntax. Remove this annotation, as per the dev guide, since this is marked as known-bug. https://rustc-dev-guide.rust-lang.org/tests/ui.html#known-bugs
1 parent 63dcdf7 commit e548d77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/ui/traits/const-traits/const_closure-const_trait_impl-ice-113381.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ impl Foo for () {
1313

1414
fn main() {
1515
(const || (()).foo())();
16-
// ^ ERROR: cannot call non-const method `<() as Foo>::foo` in constant functions
17-
// FIXME(const_trait_impl) this should probably say constant closures
1816
}

0 commit comments

Comments
 (0)