You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #146161 - GuillaumeGomez:loaded-paths-scraped-examples, r=lolbinarycat
[rustdoc] Uncomment code to add scraped rustdoc examples in loaded paths
Since the bug was fixed in #146091, we can now uncomment the code. :)
r? lolbinarycat
// FIXME: Figure out why this line is causing this feature to crash in specific contexts.
340
-
// Full issue backlog is available here: <https://github.com/rust-lang/rust/pull/144600>.
341
-
//
342
-
// Can be checked with `tests/run-make/rustdoc-scrape-examples-paths`.
343
-
// loaded_paths.push(path.clone().into());
340
+
loaded_paths.push(path.clone().into());
344
341
let bytes = match fs::read(&path){
345
342
Ok(bytes) => bytes,
346
343
Err(e) => dcx.fatal(format!("failed to load examples: {e}")),
0 commit comments