Closed
Description
#[cfg(feature = "validation")]
[debug_utils_ext, (*surface_extensions).to_owned()].concat()
#[cfg(not(feature = "validation"))]
surface_extensions.to_owned()
Error code:
error: expected `;`, found `#`
--> src\engine\renderer\context\instance.rs:44:73
|
44 | [debug_utils_ext, (*surface_extensions).to_owned()].concat()
| ^ help: add `;` here
45 |
46 | #[cfg(not(feature = "validation"))]
| - unexpected token
Metadata:
rustc 1.67.0-nightly (e1d819583 2022-12-05)
binary: rustc
commit-hash: e1d819583f0bf13b016b119c1c2c43e6d3979450
commit-date: 2022-12-05
host: x86_64-pc-windows-msvc
release: 1.67.0-nightly
LLVM version: 15.0.4