Conversation
946bcde to
72afa69
Compare
| import codeql.rust.elements.ArrayTypeRepr | ||
| import codeql.rust.elements.AsmClobberAbi | ||
| import codeql.rust.elements.AsmConst | ||
| import codeql.rust.elements.AsmDirSpec |
Check warning
Code scanning / CodeQL
Redundant import Warning
| import codeql.rust.elements.AsmConst | ||
| import codeql.rust.elements.AsmDirSpec | ||
| import codeql.rust.elements.AsmExpr | ||
| import codeql.rust.elements.AsmLabel |
Check warning
Code scanning / CodeQL
Redundant import Warning
| import codeql.rust.elements.AsmDirSpec | ||
| import codeql.rust.elements.AsmExpr | ||
| import codeql.rust.elements.AsmLabel | ||
| import codeql.rust.elements.AsmOperand |
Check warning
Code scanning / CodeQL
Redundant import Warning
| import codeql.rust.elements.AsmExpr | ||
| import codeql.rust.elements.AsmLabel | ||
| import codeql.rust.elements.AsmOperand | ||
| import codeql.rust.elements.AsmOperandExpr |
Check warning
Code scanning / CodeQL
Redundant import Warning
rust/ql/lib/codeql/rust/elements.qll
Outdated
Check warning
Code scanning / CodeQL
Redundant import Warning
rust/ql/lib/codeql/rust/elements.qll
Outdated
Check warning
Code scanning / CodeQL
Redundant import Warning
rust/ql/lib/codeql/rust/elements.qll
Outdated
Check warning
Code scanning / CodeQL
Redundant import Warning
| */ | ||
|
|
||
| private import internal.AsmOperandExprImpl | ||
| import codeql.rust.elements.AstNode |
Check warning
Code scanning / CodeQL
Redundant import Warning
| */ | ||
|
|
||
| private import internal.UseBoundGenericArgsImpl | ||
| import codeql.rust.elements.AstNode |
Check warning
Code scanning / CodeQL
Redundant import Warning
72afa69 to
014b013
Compare
0631e44 to
92a10b8
Compare
92a10b8 to
a6ec51a
Compare
redsun82
left a comment
There was a problem hiding this comment.
Just a small doubt on an ungram difference, but LGTM otherwise
| AsmOption = 'pure' | 'nomem' | 'readonly' | 'preserves_flags' | 'noreturn' | 'nostack' | 'att_syntax' | 'raw' | 'may_unwind' | ||
| // options := "options(" option *("," option) [","] ")" | ||
| AsmOptions = 'options' '(' AsmOption *(',' AsmOption) ','? ')' | ||
| AsmOptions = 'options' '(' (AsmOption (',' AsmOption)* ','?) ')' |
There was a problem hiding this comment.
is this a change on top of the upstream ungram? If that's the case, this might make it tricky to grab this file directly from there at some point in the future...
There was a problem hiding this comment.
yes, it is. Can you explain why you needed this? Could there be a way to avoid this patching?
There was a problem hiding this comment.
I should push this upstream as a fix. It looks like a bug to me.
There was a problem hiding this comment.
I'm still ok with merging this as it is 🙂
There was a problem hiding this comment.
There was a problem hiding this comment.
Wow these rust-analyzer folk are quick, the upstream patch is already merged!
| @@ -1 +1 @@ | |||
| | file://:0:0:0:0 | MacroItems | getNumberOfItems: | 2 | | |||
| | gen_macro_items.rs:5:5:5:38 | MacroItems | getNumberOfItems: | 2 | | |||
There was a problem hiding this comment.
nice! That's an improvement 👍
Updates rust-analyzer to 0.0.248