We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b454a5 commit 9e1973fCopy full SHA for 9e1973f
rust-toolchain
@@ -1,3 +1,3 @@
1
[toolchain]
2
-channel = "nightly-2021-12-29"
+channel = "nightly-2022-01-23"
3
components = ["rustc-dev"]
src/test/mod.rs
@@ -572,7 +572,10 @@ fn stdin_generated_files_issue_5172() {
572
assert!(session.has_no_errors());
573
}
574
// N.B. this should be changed once `format_generated_files` is supported with stdin
575
- assert_eq!(buf, "stdin:\n\n//@generated\nfn main() {}\n".as_bytes());
+ assert_eq!(
576
+ String::from_utf8(buf).unwrap(),
577
+ "<stdin>:\n\n//@generated\nfn main() {}\n",
578
+ );
579
580
581
#[test]
0 commit comments