mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-24 07:40:19 +00:00
Clarify mentions of C++ vector in error messages
This commit is contained in:
parent
e70303c68e
commit
fa85fce853
@ -361,7 +361,7 @@ fn describe(cx: &mut Check, ty: &Type) -> String {
|
||||
Type::UniquePtr(_) => "unique_ptr".to_owned(),
|
||||
Type::Ref(_) => "reference".to_owned(),
|
||||
Type::Str(_) => "&str".to_owned(),
|
||||
Type::CxxVector(_) => "vector".to_owned(),
|
||||
Type::CxxVector(_) => "C++ vector".to_owned(),
|
||||
Type::Slice(_) => "slice".to_owned(),
|
||||
Type::SliceRefU8(_) => "&[u8]".to_owned(),
|
||||
Type::Fn(_) => "function pointer".to_owned(),
|
||||
|
Loading…
Reference in New Issue
Block a user