Linker error with u32::to_ne_bytes and map #88549
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-linkage
Area: linking into static, shared libraries and binaries
A-monomorphization
Area: Monomorphization
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code (playground example)
I expected to see this happen: a compile error. And also, I particularly expect
map(foo)
andmap(|x| foo(x))
to behave similarly.Instead, this happened: the linker falls over:
The text was updated successfully, but these errors were encountered: