mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 06:21:13 +00:00
19 lines
669 B
Plaintext
19 lines
669 B
Plaintext
error[E0277]: the trait bound `str: PluralizeCount` is not satisfied
|
|
--> tests/ui/pluralize.rs:3:10
|
|
|
|
|
3 | #[derive(Template)]
|
|
| ^^^^^^^^ the trait `PluralizeCount` is not implemented for `str`
|
|
|
|
|
= help: the following other types implement trait `PluralizeCount`:
|
|
&T
|
|
&mut T
|
|
Arc<T>
|
|
Box<T>
|
|
MutexGuard<'_, T>
|
|
NonZero<i128>
|
|
NonZero<i16>
|
|
NonZero<i32>
|
|
and $N others
|
|
= note: required for `&str` to implement `PluralizeCount`
|
|
= note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)
|