Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7438f43
Implement From<char> for u64 and u128.
Nov 28, 2020
0bf75fb
Use better symbol names for the drop glue
bjorn3 Dec 12, 2020
4a48d68
Simplify based on eddyb's comment
bjorn3 Dec 17, 2020
769fb8a
Fix safety comment
LingMan Jan 7, 2021
9a5dcaa
Use correct span for structured suggestion
estebank Jan 8, 2021
d72f580
Remove useless `fill_in` function
jyn514 Jan 8, 2021
4e3be7c
Use standard formatting for "rust-call" ABI message
camelid Jan 8, 2021
3338bdb
Add doc comment explaining what the second Array's field is about
GuillaumeGomez Jan 8, 2021
e8cb72c
Update the stabilisation version.
Jan 9, 2021
34d128a
Replace under-used ImplPolarity enum with a boolean
GuillaumeGomez Jan 8, 2021
15ade4d
Support `download-ci-llvm` on NixOS
nagisa Jan 8, 2021
d651fa7
Allow #[rustc_builtin_macro = "name"].
m-ou-se Jan 9, 2021
0aad91b
Formatting.
m-ou-se Jan 9, 2021
b293bba
Don't set builtin_name for builtin macro implementations.
m-ou-se Jan 9, 2021
befd153
Add comment to `Vec::truncate` explaining `>` vs `>=`
camelid Jan 9, 2021
4fa5e57
Rollup merge of #79502 - Julian-Wollersberger:from_char_for_u64, r=wi…
JohnTitor Jan 10, 2021
36d8242
Rollup merge of #79968 - bjorn3:better_drop_glue_debuginfo, r=matthew…
JohnTitor Jan 10, 2021
6f062df
Rollup merge of #80774 - LingMan:patch-1, r=nagisa
JohnTitor Jan 10, 2021
686715b
Rollup merge of #80801 - estebank:correct-binding-sugg-span, r=petroc…
JohnTitor Jan 10, 2021
fb2df5f
Rollup merge of #80803 - jyn514:cleanup-fill-in, r=GuillaumeGomez
JohnTitor Jan 10, 2021
f22afd0
Rollup merge of #80809 - camelid:rust-call-abi-msg, r=lcnr
JohnTitor Jan 10, 2021
ba20c2c
Rollup merge of #80820 - nagisa:nagisa/dcl-nixos, r=Mark-Simulacrum
JohnTitor Jan 10, 2021
8386a57
Rollup merge of #80825 - GuillaumeGomez:rustdoc-cleanup-bis-repetita,…
JohnTitor Jan 10, 2021
9256fdd
Rollup merge of #80850 - m-ou-se:rustc-builtin-macro-name, r=petroche…
JohnTitor Jan 10, 2021
44a118f
Rollup merge of #80857 - camelid:vec-truncate-comment, r=scottmcm
JohnTitor Jan 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting.
  • Loading branch information
m-ou-se committed Jan 9, 2021
commit 0aad91b990cf2aa11dcfdf5cabf323f3d951b09f
4 changes: 3 additions & 1 deletion compiler/rustc_expand/src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@ impl SyntaxExtension {
}
}

let builtin_name = sess.find_by_name(attrs, sym::rustc_builtin_macro).map(|a| a.value_str().unwrap_or(name));
let builtin_name = sess
.find_by_name(attrs, sym::rustc_builtin_macro)
.map(|a| a.value_str().unwrap_or(name));
let (stability, const_stability) = attr::find_stability(&sess, attrs, span);
if const_stability.is_some() {
sess.parse_sess
Expand Down