Skip to content

Commit 69cde44

Browse files
committed
TODO -> FIXME
1 parent e604d01 commit 69cde44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_ast_lowering/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
28312831

28322832
fn item_attrs(&self, def_id: DefId) -> Vec<ast::Attribute> {
28332833
if let Some(_local_def_id) = def_id.as_local() {
2834-
// TODO: This doesn't actually work, items doesn't include everything?
2834+
// FIXME: This doesn't actually work, items doesn't include everything?
28352835
//self.items[&hir::ItemId { def_id: local_def_id }].attrs.into()
28362836
Vec::new()
28372837
} else {

src/test/ui/legacy-const-generics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ pub fn bar<const Y: usize>(x: usize, z: usize) -> [usize; 3] {
1313
fn main() {
1414
assert_eq!(legacy_const_generics::foo(0 + 0, 1 + 1, 2 + 2), [0, 2, 4]);
1515
assert_eq!(legacy_const_generics::foo::<{1 + 1}>(0 + 0, 2 + 2), [0, 2, 4]);
16-
// TODO: Only works cross-crate
16+
// FIXME: Only works cross-crate
1717
//assert_eq!(bar(0, 1, 2), [0, 1, 2]);
1818
}

0 commit comments

Comments
 (0)