Closed eliasgranse closed 4 months ago
The block fragment feature hasn't been released yet. See #1035 for release planning -- you could use main for now.
I see thanks for responding so quickly!
I've just been tripped up by this as well. Perhaps don't include features in the book that don't actually exist yet, or at least a warning?
I am trying to use the feature called "block fragments" as described in the book, section "Block Segments". The block fragment I am trying to create is part of a larger template and the Rust code looks like this:
However the line
#[derive(Template)]
stops on the error:Looking at the Docs.rs documentation this feature is not documented which makes me think this is not supported for some reason.
Anyways, I cannot seem to figure out what I am doing wrong. Thanks!