I filed #12903 about extending rustdoc to help these snippets stay more valid (and added fixmes).