CXX crate : C++ and Rust FFI

Hello, while establishing communication between Rust and C++ using cxx crate, an error came up:
cxxbridge: No module name #[cxx::bridge] found in lib.rs. Does anybody know about this error?